-
Notifications
You must be signed in to change notification settings - Fork 21
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] Improve ManagedCluster validation #244
Comments
eromanova
added a commit
to eromanova/hmc
that referenced
this issue
Sep 4, 2024
eromanova
added a commit
to eromanova/hmc
that referenced
this issue
Sep 4, 2024
eromanova
added a commit
to eromanova/hmc
that referenced
this issue
Sep 5, 2024
eromanova
added a commit
to eromanova/hmc
that referenced
this issue
Sep 10, 2024
eromanova
added a commit
to eromanova/hmc
that referenced
this issue
Sep 12, 2024
eromanova
changed the title
[Admission] Improve Deployment validation
[Admission] Improve ManagedCluster validation
Oct 18, 2024
eromanova
added a commit
to eromanova/hmc
that referenced
this issue
Oct 18, 2024
Validate template only in case it was updated in the cluster's spec Closes Mirantis#244
eromanova
added a commit
to eromanova/hmc
that referenced
this issue
Oct 18, 2024
Validate template only in case it was updated in the cluster's spec Closes Mirantis#244
bnallapeta
pushed a commit
to bnallapeta/hmc
that referenced
this issue
Nov 15, 2024
Validate template only in case it was updated in the cluster's spec Closes Mirantis#244
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We should check the referenced template validity on ManagedCluster Update only if the template was changed in ManagedCluster's spec (compare the old
spec.template
with the newspec.template
value).Currently, the admission webhook will block any update to the ManagedCluster object if the referenced template became invalid for some reason. But we should still allow changing other fields except for the
spec.template
(e.g.spec.config
).The text was updated successfully, but these errors were encountered: