-
Notifications
You must be signed in to change notification settings - Fork 550
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
Document how to upgrade OLM #2969
Comments
FYI: Did a test with the CRD to see what |
Yes
I would also propose to modify install.sh to have apply instead of create here: We should then add the command to the release notes, e.g.:
The advantage of having a script compared to just instructing the replacement of CRDs and the application of OLM resources is that we can also build into the scripts the handling of resources that have been renamed or removed when that happens. Regarding documentation I would add update instructions under Core Tasks. Frankly I don't know:
Also, I think it would make sense to have separate top level menus for OLM administration vs OLM usage but I am diverging from the purpose of this issue. @awgreene @Jamstah let me know what you think and if that sounds reasonable to you I could create a PR. |
For people using GitOps The containerPort protocol has been added to the release to come. For older releases the field will need to be ignored in the GitOps tool, e.g. for ArgoCD. |
I think the proposed update script makes a lot of sense. I'm also not sure why we have a go version of the install, I guess its because the operator-sdk is a single binary so we can't ship the script with it very easily, and we want users to be able to get a cluster up and running easily. I would be tempted to have a single install/upgrade script that can be run idempotently on the cluster instead of splitting it into two. |
From the discussion I had with @kevinrizza @awgreene @joelanford my understanding is that you don't want to invest in this and you are against an external contribution for it. In this respect I guess that this issue can be closed. Are you seeing that differently? |
The update script makes a lot of sense, as also would a helm version of the installation. The reason being ArgoCD can be used to lifecycle OLM (and actually ArgoCD can lifecycle itself too). |
Feature Request
Is your feature request related to a problem? Please describe.
I have installed an older version of OLM and wish to upgrade to a newer version. OLM doesn't provide any official upgrade steps and
kubectl apply
fails due as thekubernetes.io/last-applied-configuration
annotation causes the CRD to exceed 262144 bytes.Describe the solution you'd like
I would like the OLM project to provide official steps for performing an upgrade.
Acceptance Criteria:
The text was updated successfully, but these errors were encountered: