This commit is contained in:
2026-09-28 16:28:35 +01:00
parent 666b1ff877
commit e27aa106fd
76 changed files with 5634 additions and 906 deletions
@@ -30,20 +30,21 @@
"additionalProperties": false
},
"definition": {
"description": "Definition contains the Keycloak OrganizationRepresentation",
"description": "Definition contains the Keycloak OrganizationRepresentation. Set the\norganization name via spec.name.",
"type": "object",
"x-kubernetes-preserve-unknown-fields": true
},
"name": {
"description": "Name is the organization name in Keycloak. Immutable once set.",
"minLength": 1,
"type": "string"
},
"realmRef": {
"description": "RealmRef is a reference to a KeycloakRealm\nOne of realmRef or clusterRealmRef must be specified",
"properties": {
"name": {
"description": "Name of the resource",
"type": "string"
},
"namespace": {
"description": "Namespace of the resource (optional, defaults to the same namespace)",
"type": "string"
}
},
"required": [
@@ -54,9 +55,20 @@
}
},
"required": [
"definition"
"definition",
"name"
],
"type": "object",
"x-kubernetes-validations": [
{
"message": "exactly one of realmRef or clusterRealmRef must be set",
"rule": "has(self.realmRef) != has(self.clusterRealmRef)"
},
{
"message": "spec.name is immutable once set",
"rule": "!has(oldSelf.name) || self.name == oldSelf.name"
}
],
"additionalProperties": false
},
"status": {
@@ -146,6 +158,10 @@
"description": "OrganizationID is the Keycloak internal organization ID",
"type": "string"
},
"organizationName": {
"description": "OrganizationName is the resolved organization name in Keycloak",
"type": "string"
},
"ready": {
"description": "Ready indicates if the organization is ready",
"type": "boolean"