Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@shawkins
Copy link
Contributor

@shawkins shawkins commented Jan 28, 2026

closes: #45795

repackages the existing CRDs as v2beta1.

A custom CRD post-processor is used to reintroduce an identical non-stored v2alpha1. As I don't anticipate introducing a difference between the two, this seems fine. The only other thing that needed done is to make the CSV aware of the alternative version - which is being done via a script rather than via josdk logic.

If this approach seems valid, we'll need additional docs / notes alerting customers that v2alpha1 is deprecated and truly only for alpha use for Keycloak and RealmImports.

If / when we want to drop v2alpha1, olm will prevent this unless all of the stored versions have been updated: https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/#version-removal

Just letting the operator run should update the stored versions, but the update can also be done manually if needed: https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/#upgrade-existing-objects-to-a-new-stored-version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Promote Keycloak and KeycloakRealmImport CRDs to v2beta1

1 participant