Skip to content

Commit

Permalink
Add the ocm-policies namespace to the uninstall
Browse files Browse the repository at this point in the history
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 <jkulikau@redhat.com>
(cherry picked from commit 1137556a4ab5bc18cecf45d17a59d98f0a7ba8b9)
  • Loading branch information
JustinKuli authored and magic-mirror-bot[bot] committed Oct 10, 2024
1 parent bddce2f commit 9676e7b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ spec:
- --policy-namespace={{ .Release.Namespace }}
{{- else }}
- --policy-namespace={{ .Values.clusterName }}
- --additional-namespace=open-cluster-management-policies
{{- end }}
- --v={{ .Values.args.pkgLogLevel }}
env:
Expand Down

0 comments on commit 9676e7b

Please sign in to comment.