Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Provide conversion webhook for CRDs #283
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
Uh oh!
There was an error while loading. Please reload this page.
Provide conversion webhook for CRDs #283
Changes from 1 commit
d575751844e37711f82bc9b3fdeae8b9afd3dd8f49File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Webhook is called, whenever a CR is requested in a specific version. This allows for a better updating path, as old CRs are still useable. [conversion] Provide conversion java project: - A webhook that offers endpoints for the three CRD types - Is buildable as a runnable jar - Contains Mappers from all supported versions to a hub [common] Add Hub and previous version for all CRDs - The hub is a superset of all values of a CRD across all versions - Keep a copy of the old supported versions to transform back - This is useful, as this way the the old operator still works - Supported from these versions: - `AppDefintion.v1beta8` - `Session.v1beta6` - `Workspace.v1beta3` - To showcase the functionality update CRDs to new version: - Move status like fields to status: - `Session.v1beta7`: Move `url`, `lastActivity` and `error` fields from the spec to the status. - `Workspace.v1beta4`: Move the `error` field from the spec to the status. Also add the `error` field to `Workspace.v1beta3` as it was missing - Remove `timeout.strategy` from AppDefinition - `AppDefinition.v1beta9`: Removed `timeout.strategy` and `timeout.limit` is now just `timeout`. This was done, as there is only one Strategy left. [operator] Adjust operator so it works with the above changes. [service] Adjust service so it works with the above changes. [documentation] Add build command for `conversion-webhook` [.github] Add ci for `conversion-webhook` - Also fix publishing of new `next-version` (reusable typo) Contributed on behalf of STMicroelectronics Co-authored-by: Johannes Faltermeier <jfaltermeier@eclipsesource.com>Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Uh oh!
There was an error while loading. Please reload this page.