updates
This commit is contained in:
@@ -15,6 +15,11 @@
|
||||
"spec": {
|
||||
"description": "KeycloakRequiredActionSpec defines the desired state of KeycloakRequiredAction",
|
||||
"properties": {
|
||||
"alias": {
|
||||
"description": "Alias is the required action alias in Keycloak. Immutable once set.",
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"clusterRealmRef": {
|
||||
"description": "ClusterRealmRef is a reference to a ClusterKeycloakRealm\nOne of realmRef or clusterRealmRef must be specified",
|
||||
"properties": {
|
||||
@@ -29,8 +34,22 @@
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"configSecretRef": {
|
||||
"description": "ConfigSecretRef is a reference to a Kubernetes Secret whose data entries\nare merged into definition.config before syncing to Keycloak. Secret\nvalues take precedence over values specified inline in definition.config.",
|
||||
"properties": {
|
||||
"name": {
|
||||
"description": "Name of the Kubernetes Secret in the same namespace as the CR",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"definition": {
|
||||
"description": "Definition contains the Keycloak RequiredActionProviderRepresentation",
|
||||
"description": "Definition contains the Keycloak RequiredActionProviderRepresentation. Set\nthe alias via spec.alias.",
|
||||
"type": "object",
|
||||
"x-kubernetes-preserve-unknown-fields": true
|
||||
},
|
||||
@@ -40,10 +59,6 @@
|
||||
"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 +69,20 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"alias",
|
||||
"definition"
|
||||
],
|
||||
"type": "object",
|
||||
"x-kubernetes-validations": [
|
||||
{
|
||||
"message": "exactly one of realmRef or clusterRealmRef must be set",
|
||||
"rule": "has(self.realmRef) != has(self.clusterRealmRef)"
|
||||
},
|
||||
{
|
||||
"message": "spec.alias is immutable once set",
|
||||
"rule": "!has(oldSelf.alias) || self.alias == oldSelf.alias"
|
||||
}
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"status": {
|
||||
|
||||
Reference in New Issue
Block a user