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

Admission controller for configuration validation #723

Open
makhov opened this issue Sep 12, 2024 · 1 comment
Open

Admission controller for configuration validation #723

makhov opened this issue Sep 12, 2024 · 1 comment
Assignees
Milestone

Comments

@makhov
Copy link
Contributor

makhov commented Sep 12, 2024

We are thinking about having an admission controller or CEL validation. In this issue, we are collecting a list of things that we should be validating:

  • don't allow to create k0s clusters in --single mode and with updateStrategy=Recreate
  • ensure kubernetes skew policy is respected
@apedriza
Copy link
Contributor

  • CRDs validations on references to other resources within the CRD (ObjectRef exists etc...). In this way we can lighten the controller processing and help in the debugging for the user. For example: do not allow to create a JoinTokenRequest referencing a non-existent Cluster.

@jnummelin jnummelin added this to the 1.3 milestone Nov 7, 2024
@makhov makhov self-assigned this Nov 11, 2024
@makhov makhov modified the milestones: 1.3, 1.4 Dec 13, 2024
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

No branches or pull requests

3 participants