-
Notifications
You must be signed in to change notification settings - Fork 102
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
Incorrect CRD version detection #898
Labels
Comments
This may not be relevant post 1.0 - we'll be using conversion webhooks then which is the "right" way to solve this. |
Thanks @ANeumann82. Would the validation happen on any |
It should happen on any |
If that's the case, feel free to close this ticket via #1113. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
During operator installs it is possible that the existing KUDO CRDs in the cluster are incompatible with the current KUDO CLI (e.g. the CRDs are 0.6.0 and the CLI is 0.7.0).
This can manifest as a marshaling error during
kubectl kudo install <...>
commands.Example instance of the error:
That happened with KUDO CLI version 0.7.2 and the following existing CRD, that for some reason was not overriden with
kubectl kudo init --dry-run -o yaml | kubectl apply -f -
a few days back. Notice that the spec for maintainers is an array of strings, not compatible with the 0.7.2 CLI.kubectl get crds operators.kudo.dev -o yaml
We should also provide instructions for upgrading KUDO in our release notes and announcement posts.
Why is this needed:
It improves the UX of KUDO users that might be upgrading their CLI versions.
The text was updated successfully, but these errors were encountered: