Skip to content

Validate CIDR blocks with CEL cidr function #811

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

Open
prometherion opened this issue May 6, 2025 · 2 comments
Open

Validate CIDR blocks with CEL cidr function #811

prometherion opened this issue May 6, 2025 · 2 comments

Comments

@prometherion
Copy link
Member

The cidr function has been introduced in the CEL library starting from Kubernetes v1.33:

Kamaji could benefit from this function to decrease load on the validation webhook: however, this requires the management cluster to be at least Kubernetes v1.33.

We can't implement that right now to avoid breaking current installations, also considering our plan to simplify the trials of Kamaji — unless @bsctl has a different opinion on this.

@bsctl
Copy link
Member

bsctl commented May 7, 2025

@prometherion surely we can plan it for next releases once v1.33 comes out more widely used. And it makes sense to set some restrictions on the management cluster, currently we support kubernetes starting from v1.22+ …

@prometherion
Copy link
Member Author

currently we support kubernetes starting from v1.25+

@bsctl that's incorrect, we have some CEL validations in place, that has been released ~2022: we need to reduce the support matrix to avoid staying behind and having technical debt.

surely we can plan it for next releases

Couldn't agree more, for those who need to rely on non-CEL, CLASTIX offers backwards-compatible Kamaji releases (LTS).

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

2 participants