Skip to content

Commit 1137556

Browse files
Add the ocm-policies namespace to the uninstall
ConfigurationPolicies in that namespace should be checked for finalizers so that the uninstall can complete. It should not be checked when the addon is in hosted mode, since in that case the namespace might be used by other clusters. Refs: - https://issues.redhat.com/browse/ACM-14707 Signed-off-by: Justin Kulikauskas <[email protected]>
1 parent 674f389 commit 1137556

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/addon/configpolicy/manifests/managedclusterchart/templates/cleanup_pod.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ spec:
2929
- --policy-namespace={{ .Release.Namespace }}
3030
{{- else }}
3131
- --policy-namespace={{ .Values.clusterName }}
32+
- --additional-namespace=open-cluster-management-policies
3233
{{- end }}
3334
- --v={{ .Values.args.pkgLogLevel }}
3435
env:

0 commit comments

Comments
 (0)