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

Rollout spec - K8s Validating Webhook #1946

Open
rjpnps opened this issue Mar 31, 2022 · 2 comments
Open

Rollout spec - K8s Validating Webhook #1946

rjpnps opened this issue Mar 31, 2022 · 2 comments
Labels
enhancement New feature or request no-issue-activity

Comments

@rjpnps
Copy link

rjpnps commented Mar 31, 2022

Summary

What change needs making?

As complementary to the closed issue about Rollout spec validation, it would be great to add support for an optional ValidatingWebhookConfiguration.

Use Cases

When would you use this?

This feature applies to Kubernetes v1.19+ clusters with the admissionregistration.k8s.io/v1 API enabled. For such clusters this approach is superior to the current alternatives:

  • Reactive Approach - The informer already performs the spec validation to evolve to InvalidSpec state; Still ahead of time validation reduces MTTD.
  • Proactive Approach - Use the k8s plugin to lint the spec. On the downside, this requires an additional step on any CD pipeline to render, select and lint the spec.
@rjpnps rjpnps added the enhancement New feature or request label Mar 31, 2022
@github-actions
Copy link
Contributor

This issue is stale because it has been open 60 days with no activity.

@github-actions
Copy link
Contributor

This issue is stale because it has been open 60 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request no-issue-activity
Projects
None yet
Development

No branches or pull requests

1 participant