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

[validation-gen] ValidateUpdate Support [LARGE CHANGE] #46

Open
aaron-prindle opened this issue Nov 8, 2024 · 0 comments
Open

[validation-gen] ValidateUpdate Support [LARGE CHANGE] #46

aaron-prindle opened this issue Nov 8, 2024 · 0 comments

Comments

@aaron-prindle
Copy link
Collaborator

What would you like to be added?

Issue tracks adding ValidateUpdate support which is required for any k8s API that needs to validate changes during updates. ValidateUpdate refers to validation that runs on each update to a k8s API object.

Estimated Tasks:

  • Design and implement plumbing for oldObject through all validation calls
  • Define patterns for authoring update validators
  • Determine when update validators should trigger (building on CEL transition rules experience)
  • Add tests for update validation paths

Why is this needed?

ValidateUpdate is required for k8s APIs that needs to validate changes during updates. This is fundamental to Kubernetes API validation patterns and as is a requirement to fully implement declarative validation

@aaron-prindle aaron-prindle changed the title [validation-gen] ValidateUpdate Implementation [validation-gen] ValidateUpdate Support [LARGE CHANGE] Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant