Skip to content
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

CRD Upgrade Lifecycle Documentation #1240

Closed
andrewwebber opened this issue Mar 25, 2019 · 5 comments
Closed

CRD Upgrade Lifecycle Documentation #1240

andrewwebber opened this issue Mar 25, 2019 · 5 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@andrewwebber
Copy link

Feature Request

Is your feature request related to a problem? Please describe.
I would like to have documentation assurances about going through revisions of an initially deployed CRD

Describe the solution you'd like
The memcached/nginx examples would be even better if it walked through the following:

  • deploy v1 of an operator and CRD
    ...
  • deploy v2 of an operator and CRD
@hasbro17
Copy link
Contributor

We don't have a defined workflow for upgrading CRD versions right now so we'll need to define that first.
Beyond having documentation and CLI support in the SDK to upgrade the generated CRDs and API definitions for a new version, we will most likely be leveraging the upstream controller-runtime conversion webhook APIs to support upgrading CRDs whenever that lands.
kubernetes-sigs/controller-runtime#275

@hasbro17 hasbro17 added the kind/feature Categorizes issue or PR as related to a new feature. label Mar 26, 2019
@andrewwebber
Copy link
Author

Other examples include new available values in a helm chart when using the helm operator.

Presumably in such a case a new CRD is required

@openshift-bot
Copy link

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci-robot openshift-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jun 25, 2019
@hasbro17
Copy link
Contributor

/remove-lifecycle stale

@openshift-ci-robot openshift-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jun 25, 2019
@hasbro17
Copy link
Contributor

Closing this in favor of #1541 which is essentially the same feature request but has more details on the issue.
I've also created a separate issue for showing an example of CRD version upgrade in the operator-sdk-samples repo operator-framework/operator-sdk-samples#69

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

4 participants