-
Notifications
You must be signed in to change notification settings - Fork 350
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
fix(e2e): Upgrade helm procedure test #4927
fix(e2e): Upgrade helm procedure test #4927
Conversation
ff40e1e
to
20213e4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we have run any test with the --force
option. Even in the install
instead of the upgrade
, ie, to reinstall the operator from scratch with the new set of CRDs.
helm/camel-k/README.md
Outdated
If you are upgrading the `camel-k` Deployment, you should always use a specific version of the chart and pre-install the CRDS: | ||
|
||
``` | ||
$ kubectl replace -k "https://github.com/apache/camel-k/config/crd?ref=vx.y.z" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should use the CRDs contained into the chart for consistency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure about this. The charts also contains the edit cluster role, so it would replacing them be one by one instead of the kustomize replace.
AFAIK the CRDs in the charts should always be identical to the ones in config for one version. Also I wonder if we should improve the sync between both versions if we want consistency, WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The procedure (and the test) are now using the chart CRDs files.
aa21346
to
03bea6b
Compare
03bea6b
to
46fcbf5
Compare
Ref #4923
Add helm upgrade test using manual upgrade of CRDs and update the documentation.
Release Note