From c7f2a9b92546158c4dcb66e2ccd7b368aba0f635 Mon Sep 17 00:00:00 2001 From: Fabio Burzigotti Date: Wed, 4 Oct 2023 12:21:39 +0200 Subject: [PATCH] [issue 67] - Update Keycloak CRDs (22.0.4) --- ...ycloakrealmimports.k8s.keycloak.org-v1.yml | 86 ++++++++++---- .../crds/keycloaks.k8s.keycloak.org-v1.yml | 112 +++++++++++++++--- 2 files changed, 161 insertions(+), 37 deletions(-) diff --git a/tools/intersmash-tools-provisioners/src/main/resources/crds/keycloakrealmimports.k8s.keycloak.org-v1.yml b/tools/intersmash-tools-provisioners/src/main/resources/crds/keycloakrealmimports.k8s.keycloak.org-v1.yml index 16497b0a5..a63ee8e76 100644 --- a/tools/intersmash-tools-provisioners/src/main/resources/crds/keycloakrealmimports.k8s.keycloak.org-v1.yml +++ b/tools/intersmash-tools-provisioners/src/main/resources/crds/keycloakrealmimports.k8s.keycloak.org-v1.yml @@ -1,4 +1,4 @@ -# See https://raw.githubusercontent.com/keycloak/keycloak-k8s-resources/22.0.1/kubernetes/keycloakrealmimports.k8s.keycloak.org-v1.yml +# See https://raw.githubusercontent.com/keycloak/keycloak-k8s-resources/22.0.4/kubernetes/keycloakrealmimports.k8s.keycloak.org-v1.yml # Generated by Fabric8 CRDGenerator, manual edits might get overwritten! apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition @@ -67,6 +67,32 @@ spec: items: type: string type: array + userProfileMetadata: + properties: + attributes: + items: + properties: + annotations: + additionalProperties: + type: object + type: object + validators: + additionalProperties: + additionalProperties: + type: object + type: object + type: object + displayName: + type: string + readOnly: + type: boolean + name: + type: string + required: + type: boolean + type: object + type: array + type: object createdTimestamp: type: integer emailVerified: @@ -252,6 +278,32 @@ spec: items: type: string type: array + userProfileMetadata: + properties: + attributes: + items: + properties: + annotations: + additionalProperties: + type: object + type: object + validators: + additionalProperties: + additionalProperties: + type: object + type: object + type: object + displayName: + type: string + readOnly: + type: boolean + name: + type: string + required: + type: boolean + type: object + type: array + type: object createdTimestamp: type: integer emailVerified: @@ -548,7 +600,6 @@ spec: id: type: string clientPolicies: - type: object x-kubernetes-preserve-unknown-fields: true webAuthnPolicyUserVerificationRequirement: type: string @@ -704,16 +755,14 @@ spec: type: array decisionStrategy: enum: - - AFFIRMATIVE - - stableIndex - CONSENSUS - UNANIMOUS + - AFFIRMATIVE type: string name: type: string policyEnforcementMode: enum: - - stableIndex - PERMISSIVE - ENFORCING - DISABLED @@ -752,14 +801,12 @@ spec: type: array decisionStrategy: enum: - - AFFIRMATIVE - - stableIndex - CONSENSUS - UNANIMOUS + - AFFIRMATIVE type: string logic: enum: - - stableIndex - POSITIVE - NEGATIVE type: string @@ -942,7 +989,6 @@ spec: otpPolicyCodeReusable: type: boolean clientProfiles: - type: object x-kubernetes-preserve-unknown-fields: true userFederationMappers: items: @@ -1564,16 +1610,14 @@ spec: type: array decisionStrategy: enum: - - AFFIRMATIVE - - stableIndex - CONSENSUS - UNANIMOUS + - AFFIRMATIVE type: string name: type: string policyEnforcementMode: enum: - - stableIndex - PERMISSIVE - ENFORCING - DISABLED @@ -1612,14 +1656,12 @@ spec: type: array decisionStrategy: enum: - - AFFIRMATIVE - - stableIndex - CONSENSUS - UNANIMOUS + - AFFIRMATIVE type: string logic: enum: - - stableIndex - POSITIVE - NEGATIVE type: string @@ -1940,16 +1982,14 @@ spec: type: array decisionStrategy: enum: - - AFFIRMATIVE - - stableIndex - CONSENSUS - UNANIMOUS + - AFFIRMATIVE type: string name: type: string policyEnforcementMode: enum: - - stableIndex - PERMISSIVE - ENFORCING - DISABLED @@ -1988,14 +2028,12 @@ spec: type: array decisionStrategy: enum: - - AFFIRMATIVE - - stableIndex - CONSENSUS - UNANIMOUS + - AFFIRMATIVE type: string logic: enum: - - stableIndex - POSITIVE - NEGATIVE type: string @@ -2233,8 +2271,12 @@ spec: conditions: items: properties: + lastTransitionTime: + type: string status: - type: boolean + x-kubernetes-preserve-unknown-fields: true + observedGeneration: + type: integer type: type: string message: diff --git a/tools/intersmash-tools-provisioners/src/main/resources/crds/keycloaks.k8s.keycloak.org-v1.yml b/tools/intersmash-tools-provisioners/src/main/resources/crds/keycloaks.k8s.keycloak.org-v1.yml index d91e7527b..ee9b91282 100644 --- a/tools/intersmash-tools-provisioners/src/main/resources/crds/keycloaks.k8s.keycloak.org-v1.yml +++ b/tools/intersmash-tools-provisioners/src/main/resources/crds/keycloaks.k8s.keycloak.org-v1.yml @@ -1,4 +1,4 @@ -# See https://github.com/keycloak/keycloak-k8s-resources/blob/22.0.1/kubernetes/keycloaks.k8s.keycloak.org-v1.yml +# See https://github.com/keycloak/keycloak-k8s-resources/blob/22.0.4/kubernetes/keycloaks.k8s.keycloak.org-v1.yml # Generated by Fabric8 CRDGenerator, manual edits might get overwritten! apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition @@ -92,8 +92,6 @@ spec: type: integer deletionTimestamp: type: string - clusterName: - type: string resourceVersion: type: string annotations: @@ -210,8 +208,6 @@ spec: type: integer deletionTimestamp: type: string - clusterName: - type: string resourceVersion: type: string annotations: @@ -308,6 +304,17 @@ spec: apiGroup: type: string type: object + dataSourceRef: + properties: + name: + type: string + kind: + type: string + namespace: + type: string + apiGroup: + type: string + type: object resources: properties: limits: @@ -317,6 +324,13 @@ spec: - type: string x-kubernetes-int-or-string: true type: object + claims: + items: + properties: + name: + type: string + type: object + type: array requests: additionalProperties: anyOf: @@ -325,15 +339,6 @@ spec: x-kubernetes-int-or-string: true type: object type: object - dataSourceRef: - properties: - name: - type: string - kind: - type: string - apiGroup: - type: string - type: object accessModes: items: type: string @@ -1369,6 +1374,13 @@ spec: - type: string x-kubernetes-int-or-string: true type: object + claims: + items: + properties: + name: + type: string + type: object + type: array requests: additionalProperties: anyOf: @@ -1390,6 +1402,20 @@ spec: type: array type: object type: array + resourceClaims: + items: + properties: + source: + properties: + resourceClaimTemplateName: + type: string + resourceClaimName: + type: string + type: object + name: + type: string + type: object + type: array automountServiceAccountToken: type: boolean containers: @@ -1862,6 +1888,13 @@ spec: - type: string x-kubernetes-int-or-string: true type: object + claims: + items: + properties: + name: + type: string + type: object + type: array requests: additionalProperties: anyOf: @@ -2353,6 +2386,13 @@ spec: - type: string x-kubernetes-int-or-string: true type: object + claims: + items: + properties: + name: + type: string + type: object + type: array requests: additionalProperties: anyOf: @@ -2722,12 +2762,20 @@ spec: topologySpreadConstraints: items: properties: + nodeTaintsPolicy: + type: string topologyKey: type: string maxSkew: type: integer + nodeAffinityPolicy: + type: string whenUnsatisfiable: type: string + matchLabelKeys: + items: + type: string + type: array labelSelector: properties: matchExpressions: @@ -2748,6 +2796,8 @@ spec: type: string type: object type: object + minDomains: + type: integer type: object type: array overhead: @@ -2774,8 +2824,17 @@ spec: type: string type: object type: array + schedulingGates: + items: + properties: + name: + type: string + type: object + type: array runtimeClassName: type: string + hostUsers: + type: boolean type: object type: object type: object @@ -2784,8 +2843,16 @@ spec: The deployment is, by default, exposed through a basic ingress. You can change this behaviour by setting the enabled property to false. properties: + annotations: + additionalProperties: + type: string + description: Additional annotations to be appended to the Ingress + object + type: object enabled: type: boolean + className: + type: string type: object image: description: Custom Keycloak image to be used. @@ -2902,17 +2969,32 @@ spec: conditions: items: properties: + lastTransitionTime: + type: string status: - type: boolean + x-kubernetes-preserve-unknown-fields: true + observedGeneration: + type: integer type: type: string message: type: string type: object type: array + observedGeneration: + type: integer + instances: + type: integer + selector: + type: string type: object type: object served: true storage: true subresources: + scale: + labelSelectorPath: .status.selector + specReplicasPath: .spec.instances + statusReplicasPath: .status.instances status: {} +