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

@Immutable #11

Open
teyckmans opened this issue May 21, 2019 · 1 comment
Open

@Immutable #11

teyckmans opened this issue May 21, 2019 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@teyckmans
Copy link
Collaborator

Add @immutable annotation to attributes that are documented to be immutable or that we have/gain knowledge about that can not be updated.

This would allow KubeRig to detect changes on immutable fields and first remove the resource before creating again instead of just applying the update.

This applies for example to the host and tls attributes of OpenShift Routes.

@teyckmans
Copy link
Collaborator Author

We should support an extensible way for users to add immutable information, something like jackson annotation mixins. To allow users to unblock themselves in case the information is not yet contained within kuberig-dsl itself.

@teyckmans teyckmans added this to the 0.2.0 milestone May 21, 2019
@teyckmans teyckmans added the enhancement New feature or request label May 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant