Skip to content

Commit

Permalink
label selector is no longer supported in ManagedClusterSet
Browse files Browse the repository at this point in the history
Signed-off-by: Xiangjing Li <xiangli@redhat.com>
  • Loading branch information
xiangjingli committed May 2, 2024
1 parent 7462dc4 commit 2b8ae9b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
2 changes: 1 addition & 1 deletion examples/openshift-gitops/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ with the `vendor: OpenShift` label into OpenShift GitOps (Argo CD).
## Configure
* Apply the following:
```shell
kubectl apply -f .
kubectl apply -f ./openshift-gitops
```
* Any OpenShift clusters with the correct label will be imported into the Argo CD provisioned by OpenShift GitOps.
* Check the Openshift GitOps (Argo CD) Configuration tab, to see the list of clusters
Expand Down
12 changes: 0 additions & 12 deletions examples/openshift-gitops/managedclusterset.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions examples/openshift-gitops/managedclustersetbinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
apiVersion: cluster.open-cluster-management.io/v1beta2
kind: ManagedClusterSetBinding
metadata:
name: all-openshift-clusters
name: global
namespace: openshift-gitops
spec:
clusterSet: all-openshift-clusters
clusterSet: global

0 comments on commit 2b8ae9b

Please sign in to comment.