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

refactor(core): add replace expressions for validating admission policy patch #489

Merged
merged 1 commit into from
Nov 2, 2024

Conversation

yaroslavborbat
Copy link
Member

Description

add replace expressions for validating admission policy patch

Why do we need it, and what problem does it solve?

Replace the expressions for the ValidatingAdmissionPolicy kubevirt-node-restriction-policy.
This is necessary because of the kube-api-rewriter that changes the labels.

What is the expected result?

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

Signed-off-by: yaroslavborbat <[email protected]>
@yaroslavborbat yaroslavborbat force-pushed the fix/core/replace-validations branch from 98ad3b1 to 0ed0193 Compare October 30, 2024 18:21
@fl64 fl64 changed the title fix(core): add replace expressions for validating admission policy patch refactor(core): add replace expressions for validating admission policy patch Nov 1, 2024
@yaroslavborbat yaroslavborbat merged commit 41c916f into main Nov 2, 2024
11 checks passed
@yaroslavborbat yaroslavborbat deleted the fix/core/replace-validations branch November 2, 2024 07:38
danilrwx pushed a commit that referenced this pull request Nov 5, 2024
…cy patch (#489)

add replace expressions for validating admission policy patch

Signed-off-by: yaroslavborbat <[email protected]>
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