Skip to content

Commit c58176b

Browse files
committed
Explicitly set the namespace for acm objects
1 parent 622eff5 commit c58176b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/managedClusters-normal.expected.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,7 @@ apiVersion: policy.open-cluster-management.io/v1
666666
kind: PlacementBinding
667667
metadata:
668668
name: acm-edge-placement-binding
669+
namespace: open-cluster-management
669670
annotations:
670671
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
671672
placementRef:
@@ -682,6 +683,7 @@ apiVersion: policy.open-cluster-management.io/v1
682683
kind: PlacementBinding
683684
metadata:
684685
name: acm-provision-edge-placement-binding
686+
namespace: open-cluster-management
685687
annotations:
686688
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
687689
placementRef:
@@ -698,6 +700,7 @@ apiVersion: policy.open-cluster-management.io/v1
698700
kind: PlacementBinding
699701
metadata:
700702
name: openshift-gitops-placement-binding
703+
namespace: open-cluster-management
701704
annotations:
702705
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
703706
placementRef:
@@ -714,6 +717,7 @@ apiVersion: apps.open-cluster-management.io/v1
714717
kind: PlacementRule
715718
metadata:
716719
name: acm-edge-placement
720+
namespace: open-cluster-management
717721
spec:
718722
clusterConditions:
719723
- status: 'True'
@@ -727,6 +731,7 @@ apiVersion: apps.open-cluster-management.io/v1
727731
kind: PlacementRule
728732
metadata:
729733
name: acm-provision-edge-placement
734+
namespace: open-cluster-management
730735
spec:
731736
clusterConditions:
732737
- status: 'True'
@@ -740,6 +745,7 @@ apiVersion: apps.open-cluster-management.io/v1
740745
kind: PlacementRule
741746
metadata:
742747
name: openshift-gitops-placement
748+
namespace: open-cluster-management
743749
spec:
744750
clusterConditions:
745751
- status: 'True'
@@ -757,6 +763,7 @@ apiVersion: policy.open-cluster-management.io/v1
757763
kind: Policy
758764
metadata:
759765
name: acm-edge-clustergroup-policy
766+
namespace: open-cluster-management
760767
annotations:
761768
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
762769
argocd.argoproj.io/compare-options: IgnoreExtraneous
@@ -838,6 +845,7 @@ apiVersion: policy.open-cluster-management.io/v1
838845
kind: Policy
839846
metadata:
840847
name: acm-provision-edge-clustergroup-policy
848+
namespace: open-cluster-management
841849
annotations:
842850
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
843851
argocd.argoproj.io/compare-options: IgnoreExtraneous
@@ -919,6 +927,7 @@ apiVersion: policy.open-cluster-management.io/v1
919927
kind: Policy
920928
metadata:
921929
name: openshift-gitops-policy
930+
namespace: open-cluster-management
922931
annotations:
923932
policy.open-cluster-management.io/standards: NIST-CSF
924933
policy.open-cluster-management.io/categories: PR.DS Data Security

0 commit comments

Comments
 (0)