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

[Feature] Update the existing policies to use the new fields #1130

Open
2 tasks done
MariamFahmy98 opened this issue Aug 21, 2024 · 1 comment
Open
2 tasks done

[Feature] Update the existing policies to use the new fields #1130

MariamFahmy98 opened this issue Aug 21, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@MariamFahmy98
Copy link
Contributor

MariamFahmy98 commented Aug 21, 2024

Problem Statement

Starting from Kyverno 1.13, the following fields are deprecated:

  1. spec.validationFailureAction
  2. spec.validationFailureActionOverrides
  3. spec.generateExisting
  4. spec.mutateExisting

The following fields should be used instead:

  1. validate.failureAction (under the validate rule)
  2. validate.failureActionOverrides (under the validate rule)
  3. verifyImage[*].failureAction (under the verifyImage rule)
  4. generate.generateExisting (under the generate rule)
  5. mutate.mutateExisting (under the mutate rule)

Solution Description

Use the following fields under their corresponding rules:

  1. failureAction
  2. failureActionOverrides
  3. generateExisting
  4. mutateExisting

Example "Good" Resource

No response

Example "Bad" Resource

No response

Other Comments

No response

Slack discussion

No response

Troubleshooting

@MariamFahmy98 MariamFahmy98 added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Aug 21, 2024
@siddhikhapare
Copy link
Contributor

@MariamFahmy98 I would like to work on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
Status: No status
Development

No branches or pull requests

2 participants