Skip to content

Commit

Permalink
case20 revmoe prune
Browse files Browse the repository at this point in the history
Signed-off-by: Yi Rae Kim <yikim@redhat.com>
  • Loading branch information
yiraeChristineKim committed Jun 27, 2023
1 parent 84a5b3e commit 8de8560
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions test/e2e/case20_delete_objects_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -704,9 +704,6 @@ var _ = Describe("Object Should not be deleted", Ordered, func() {
)
BeforeEach(func() {
utils.Kubectl("apply", "-f", case20ChangeConfigYaml, "-n", testNamespace)
patch := `[{"op": "remove", "path": "/spec/pruneObjectBehavior"}]`
utils.Kubectl("patch", "configurationpolicy", configplcName, "-n", testNamespace,
"--type=json", "-p", patch)
})
cleanup := func() {
policies := []string{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ metadata:
namespace: managed
spec:
remediationAction: enforce
pruneObjectBehavior: DeleteAll
object-templates:
- complianceType: musthave
objectDefinition:
Expand Down

0 comments on commit 8de8560

Please sign in to comment.