Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update chainsaw to v0.1.4 #119

Merged
merged 1 commit into from
Feb 23, 2024
Merged

chore: update chainsaw to v0.1.4 #119

merged 1 commit into from
Feb 23, 2024

Conversation

fykaa
Copy link
Contributor

@fykaa fykaa commented Feb 23, 2024

This is to make sure that the chainsaw tests I write with the latest patch method syntax works.

Patch Method valid for v0.1.6

    patch:
        resource:
          apiVersion: kyverno.io/v1
          kind: ClusterPolicy
          metadata:
            name: require-resource-quota
          spec:
            validationFailureAction: Enforce```

Script Method for v0.1.4

    - script:
         content: |
             sed 's/validationFailureAction: Audit/validationFailureAction: Enforce/' ../require-resource-quota.yaml | kubectl apply -f - 

@fykaa fykaa requested a review from anusha94 February 23, 2024 10:25
@fykaa fykaa self-assigned this Feb 23, 2024
@anusha94 anusha94 merged commit 3acba51 into main Feb 23, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants