Skip to content

Commit

Permalink
Explicitly set the namespace for acm objects
Browse files Browse the repository at this point in the history
  • Loading branch information
beekhof committed Oct 3, 2022
1 parent 622eff5 commit c58176b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/managedClusters-normal.expected.yml
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,7 @@ apiVersion: policy.open-cluster-management.io/v1
kind: PlacementBinding
metadata:
name: acm-edge-placement-binding
namespace: open-cluster-management
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
placementRef:
Expand All @@ -682,6 +683,7 @@ apiVersion: policy.open-cluster-management.io/v1
kind: PlacementBinding
metadata:
name: acm-provision-edge-placement-binding
namespace: open-cluster-management
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
placementRef:
Expand All @@ -698,6 +700,7 @@ apiVersion: policy.open-cluster-management.io/v1
kind: PlacementBinding
metadata:
name: openshift-gitops-placement-binding
namespace: open-cluster-management
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
placementRef:
Expand All @@ -714,6 +717,7 @@ apiVersion: apps.open-cluster-management.io/v1
kind: PlacementRule
metadata:
name: acm-edge-placement
namespace: open-cluster-management
spec:
clusterConditions:
- status: 'True'
Expand All @@ -727,6 +731,7 @@ apiVersion: apps.open-cluster-management.io/v1
kind: PlacementRule
metadata:
name: acm-provision-edge-placement
namespace: open-cluster-management
spec:
clusterConditions:
- status: 'True'
Expand All @@ -740,6 +745,7 @@ apiVersion: apps.open-cluster-management.io/v1
kind: PlacementRule
metadata:
name: openshift-gitops-placement
namespace: open-cluster-management
spec:
clusterConditions:
- status: 'True'
Expand All @@ -757,6 +763,7 @@ apiVersion: policy.open-cluster-management.io/v1
kind: Policy
metadata:
name: acm-edge-clustergroup-policy
namespace: open-cluster-management
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
argocd.argoproj.io/compare-options: IgnoreExtraneous
Expand Down Expand Up @@ -838,6 +845,7 @@ apiVersion: policy.open-cluster-management.io/v1
kind: Policy
metadata:
name: acm-provision-edge-clustergroup-policy
namespace: open-cluster-management
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
argocd.argoproj.io/compare-options: IgnoreExtraneous
Expand Down Expand Up @@ -919,6 +927,7 @@ apiVersion: policy.open-cluster-management.io/v1
kind: Policy
metadata:
name: openshift-gitops-policy
namespace: open-cluster-management
annotations:
policy.open-cluster-management.io/standards: NIST-CSF
policy.open-cluster-management.io/categories: PR.DS Data Security
Expand Down

0 comments on commit c58176b

Please sign in to comment.