File tree Expand file tree Collapse file tree
reference-crs-kube-compare/required/gitops
reference-crs/required/gitops Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,13 @@ metadata:
66 namespace : openshift-gitops
77spec :
88 destinations :
9+ # Hub policies are copied by ACM to the local-cluster namespace. This causes
10+ # ArgoCD/GitOps to see those policies and flag them for pruning due to argocd
11+ # annotations which remain on the copies. Prevent this confusion by restricting
12+ # GitOps from managing resources in the local-cluster namespace where the
13+ # copies are being created.
14+ - namespace : ' !local-cluster'
15+ server : ' *'
916 - namespace : ' *'
1017 server : ' *'
1118 sourceRepos :
Original file line number Diff line number Diff line change @@ -8,6 +8,13 @@ metadata:
88 namespace : openshift-gitops
99spec :
1010 destinations :
11+ # Hub policies are copied by ACM to the local-cluster namespace. This causes
12+ # ArgoCD/GitOps to see those policies and flag them for pruning due to argocd
13+ # annotations which remain on the copies. Prevent this confusion by restricting
14+ # GitOps from managing resources in the local-cluster namespace where the
15+ # copies are being created.
16+ - namespace : ' !local-cluster'
17+ server : ' *'
1118 - namespace : ' *'
1219 server : ' *'
1320 sourceRepos :
You can’t perform that action at this time.
0 commit comments