Skip to content

Commit

Permalink
delete restore when policy is disabled
Browse files Browse the repository at this point in the history
Signed-off-by: Valentina Birsan <[email protected]>
  • Loading branch information
birsanv authored and openshift-merge-bot[bot] committed Jun 11, 2024
1 parent 44db6c8 commit 1644712
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ spec:
name: '{{hub $configMap.data.backupNS hub}}'
{{hub end hub}}
remediationAction: enforce
pruneObjectBehavior: DeleteIfCreated
severity: high
- objectDefinition:
apiVersion: policy.open-cluster-management.io/v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ spec:
restorePVs: '{{hub $configMap.data.restoreRestorePVs | toBool hub}}'
{{hub end hub}}
remediationAction: enforce
pruneObjectBehavior: DeleteIfCreated
severity: high
- objectDefinition:
apiVersion: policy.open-cluster-management.io/v1
Expand Down

0 comments on commit 1644712

Please sign in to comment.