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

Use CEL + Swagger x-ms-mutability to prevent changes to write-once properties #1443

Open
Porges opened this issue Jul 20, 2020 · 11 comments
Open

Comments

@Porges
Copy link
Member

Porges commented Jul 20, 2020

Some ARM templates have properties that can be set on creation but not modified later. What do we do about these? Does Kubernetes have support/concepts that match this?

@matthchr
Copy link
Member

I noticed that Crossplane has an annotation +immutable, and Kubernetes seems to discuss this exact annotation here

@Porges Porges transferred this issue from Azure/k8s-infra May 14, 2021
@bergerx
Copy link

bergerx commented May 15, 2021

New place for the kep is here: https://github.com/kubernetes/enhancements/tree/master/keps/sig-api-machinery/1101-immutable-fields#suggested-marker-syntax

@matthchr
Copy link
Member

matthchr commented Apr 4, 2022

Still something we should consider

@matthchr
Copy link
Member

Still tracking this but as far as I can tell no movement upstream, so we'll sit on this some more. It's not an issue in practice for us right now.

@matthchr
Copy link
Member

matthchr commented Feb 7, 2023

No status change from August when we visited this issue last.

@theunrepentantgeek
Copy link
Member

No change. Still something we need to sort.

@matthchr
Copy link
Member

matthchr commented Oct 2, 2023

No change from above. Looks like the KEP is stalled.

@matthchr matthchr changed the title What to do about write-once properties? Use CEL + Swagger x-ms-mutability to prevent changes to write-once properties Feb 12, 2024
@matthchr
Copy link
Member

@matthchr
Copy link
Member

matthchr commented Mar 4, 2024

still interesting

@matthchr
Copy link
Member

This is still interesting but not really that critical (which is why it keeps lingering in this list).

@theunrepentantgeek
Copy link
Member

Still of interest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

4 participants