-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Manage versioning of the CheCluster
CRD
#15389
Comments
@davidfestal |
I've pushed into a branch my efforts to automate crd versioning |
The issue is postponed |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
Eclipse Che operator already manages several versions of eclipse-che CRD |
Is your enhancement related to a problem? Please describe.
Now that we provide an OpenAPI schema for the CheCluster Custom Resource, we would need to upgrade the version of the CRD when introducing new fields. It seems this is necessary to ensure backward-compatibilty with already-existing CRDs in a cluster, and proper updates of CSVs in OperatorHub.
If we release release new Operator versions in OperatorHub without correctly managing the CRD versionning, users will face the following problems:
Describe the solution you'd like
The established way to do this is described here: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definition-versioning/#specify-multiple-versions.
This issue is about setting this up and testing updates with a new version of CRD to ensure everything works as expected according to the Kubernetes docs.
We should also update OLM-related scripts in order to update the CRD version consistently, or at least check that the generated CRD yaml is not modified without having a new API version created.
The text was updated successfully, but these errors were encountered: