Skip to content

Commit e32d0d7

Browse files
authored
Merge pull request #43 from darkdoc/fix_uninstall
fix: pruneObjectBehavior
2 parents 48b4d9a + 3ddf261 commit e32d0d7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

templates/policies/application-policies.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ spec:
2020
metadata:
2121
name: {{ .name }}-clustergroup-config
2222
spec:
23+
{{- if or ($.Values.global.deletePattern | eq "DeleteChildApps" ) ($.Values.global.deletePattern | eq "DeleteSpokeChildApps" )}}
2324
pruneObjectBehavior: DeleteIfCreated
25+
{{- end }}
2426
remediationAction: enforce
2527
severity: medium
2628
namespaceSelector:

0 commit comments

Comments
 (0)