From c58176b1ebbf1f516885bc05f2dc9fc6c053f3cd Mon Sep 17 00:00:00 2001 From: Andrew Beekhof Date: Mon, 3 Oct 2022 14:04:07 +1100 Subject: [PATCH] Explicitly set the namespace for acm objects --- tests/managedClusters-normal.expected.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/managedClusters-normal.expected.yml b/tests/managedClusters-normal.expected.yml index 4aeffb302..80ab3c899 100644 --- a/tests/managedClusters-normal.expected.yml +++ b/tests/managedClusters-normal.expected.yml @@ -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: @@ -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: @@ -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: @@ -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' @@ -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' @@ -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' @@ -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 @@ -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 @@ -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