Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ Accept the CSRs on the hub to approve the spoke clusters to join the hub.

Install specific built-in add-on(s) to the hub cluster.

`clusteradm install addons --names application-manager`
`clusteradm install addon --names application-manager`

### enable addons

Enable specific add-on(s) agent deployment to the given managed clusters of the specify namespace

`clusteradm enable addons --names application-manager --ns namespace --clusters <cluster1>, <cluster2>,....`
`clusteradm addon enable --names application-manager --namespace <namespace> --cluster <cluster1>,<cluster2>,....`
1 change: 1 addition & 0 deletions pkg/cmd/accept/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ func (o *Options) accept(kubeClient *kubernetes.Clientset, clusterClient *cluste
return false, err
}
if csrApproved && mcUpdated {
fmt.Printf("\n Your managed cluster %s has joined the Hub successfully. Visit https://open-cluster-management.io/scenarios or https://github.com/open-cluster-management-io/OCM/tree/main/solutions for next steps.\n", clusterName)
return true, nil
}
return false, nil
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/addon/enable/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

var example = `
# Enable addon on a cluster in speccified a namespace
%[1]s addon enable --name application-manager --ns namespace --cluster cluster1,cluster2
%[1]s addon enable --name application-manager --namespace namespace --cluster cluster1,cluster2
`

// NewCmd...
Expand Down