Merge commit 'b9b83d1fea881449ed0579dc8d76b77d24c4083c' as 'acm-hub-bootstrap'
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
apiVersion: cluster.open-cluster-management.io/v1beta1
|
||||
kind: Placement
|
||||
metadata:
|
||||
name: placement-policy-gitops
|
||||
namespace: acm-policies
|
||||
spec:
|
||||
clusterSets:
|
||||
- global
|
||||
predicates:
|
||||
- requiredClusterSelector:
|
||||
labelSelector:
|
||||
matchExpressions:
|
||||
- key: gitops
|
||||
operator: Exists
|
||||
---
|
||||
apiVersion: policy.open-cluster-management.io/v1
|
||||
kind: PlacementBinding
|
||||
metadata:
|
||||
name: binding-policy-gitops
|
||||
namespace: acm-policies
|
||||
placementRef:
|
||||
apiGroup: cluster.open-cluster-management.io
|
||||
kind: Placement
|
||||
name: placement-policy-gitops
|
||||
subjects:
|
||||
- apiGroup: policy.open-cluster-management.io
|
||||
kind: PolicySet
|
||||
name: gitops
|
||||
Reference in New Issue
Block a user