Skip to content

Commit

Permalink
keycloakCRName and realm are no longer marked as required in Keyc…
Browse files Browse the repository at this point in the history
…loakRealmImport CRD

Closes keycloak#21607
  • Loading branch information
vmuzikar committed Jul 11, 2023
1 parent 01e861a commit 2fb19be
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,15 @@
package org.keycloak.operator.crds.v2alpha1.realmimport;

import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import io.fabric8.generator.annotation.Required;
import org.keycloak.representations.idm.RealmRepresentation;

import jakarta.validation.constraints.NotNull;

public class KeycloakRealmImportSpec {

@NotNull
@Required
@JsonPropertyDescription("The name of the Keycloak CR to reference, in the same namespace.")
private String keycloakCRName;
@NotNull
@Required
@JsonPropertyDescription("The RealmRepresentation to import into Keycloak.")
private RealmRepresentation realm;

Expand Down

0 comments on commit 2fb19be

Please sign in to comment.