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

keycloakCRName and realm are no longer marked as required in KeycloakRealmImport CRD #21607

Closed
2 tasks done
vmuzikar opened this issue Jul 11, 2023 · 4 comments · Fixed by #21608 or #21634
Closed
2 tasks done
Assignees
Labels
area/operator Keycloak.X Operator kind/bug Categorizes a PR related to a bug team/cloud-native
Milestone

Comments

@vmuzikar
Copy link
Contributor

Before reporting an issue

Area

operator

Describe the bug

keycloakCRName and realm fields are no longer marked as required.

Version

22.0.0

Expected behavior

Marked as required

Actual behavior

Not marked as required

How to Reproduce?

Diff the CRD for 21.1.2 and 22.0.0.

Anything else?

No response

@vmuzikar vmuzikar added kind/bug Categorizes a PR related to a bug status/triage labels Jul 11, 2023
@ghost ghost added area/operator Keycloak.X Operator team/cloud-native labels Jul 11, 2023
@vmuzikar vmuzikar added this to the 22.0.1 milestone Jul 11, 2023
@vmuzikar
Copy link
Contributor Author

CC @shawkins

@vmuzikar
Copy link
Contributor Author

Mitigated this at least for OLM by manually fixing the CRD:
k8s-operatorhub/community-operators#2978
redhat-openshift-ecosystem/community-operators-prod#2933

@shawkins
Copy link
Contributor

shawkins commented Jul 11, 2023

@vmuzikar this is coming from fabric8io/kubernetes-client#4597 via fabric8io/kubernetes-client#4348

Checking for validations unfortunately wasn't in scope for the simple round-trip tests to verify that noting is dropped with crd generation.

vmuzikar added a commit to vmuzikar/keycloak that referenced this issue Jul 11, 2023
@vmuzikar vmuzikar changed the title keycloakCRName and realm are now longer marked as required in KeycloakRealmImport CRD keycloakCRName and realm are no longer marked as required in KeycloakRealmImport CRD Jul 11, 2023
vmuzikar added a commit to vmuzikar/keycloak that referenced this issue Jul 11, 2023
vmuzikar added a commit to vmuzikar/keycloak that referenced this issue Jul 11, 2023
pedroigor pushed a commit that referenced this issue Jul 12, 2023
@vmuzikar
Copy link
Contributor Author

Reopening for backport

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