-
Notifications
You must be signed in to change notification settings - Fork 0
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
Deprecation management for CAPI releases #3651
Comments
Towards giantswarm/roadmap#3651. Following is the diff of the `releases.release.giantswarm.io` CRD between v0.3.0 and v0.10.0. ``` git diff sdk/v0.3.0:sdk/manifests/apiextensions.k8s.io_v1_customresourcedefinition_releases.release.giantswarm.io.yaml sdk/v0.10.0:sdk/manifests/apiextensions.k8s.io_v1_customresourcedefinition_releases.release.giantswarm.io.yaml ``` ```diff diff --git a/sdk/manifests/apiextensions.k8s.io_v1_customresourcedefinition_releases.release.giantswarm.io.yaml b/sdk/manifests/apiextensions.k8s.io_v1_customresourcedefinition_releases.release.giantswarm.io.yaml index 3b9f82f..91dd431 100644 --- a/sdk/manifests/apiextensions.k8s.io_v1_customresourcedefinition_releases.release.giantswarm.io.yaml +++ b/sdk/manifests/apiextensions.k8s.io_v1_customresourcedefinition_releases.release.giantswarm.io.yaml @@ -29,6 +29,10 @@ spec: jsonPath: .spec.date name: Age type: date + - description: State of this release + jsonPath: .spec.state + name: State + type: string - description: Release notes for this release jsonPath: .metadata.annotations['giantswarm\.io/release-notes'] name: Release notes ```
So... bringing the release state to surface was quite simple. But warning the user about them using a deprecated release might be a bit tricky: We have the This is a mutating webhook and there also is a validating webhook, but both of them are returning either "all good, go on" or "Stop! That's wrong! You shall not pass!". What I wanna tell: The whole Question is: Should I take the burden and implement it (cannot tell how long it takes, but might bloat the issue a bit) or should we just skip the second part of this issue? What we definitely should not do is just rejecting the app as this could break stuff. So I'd first print a warning and maybe somewhen in the future start rejecting apps with deprecated releases. |
Acceptance criteria:
The text was updated successfully, but these errors were encountered: