diff --git a/keycloak/base/keycloak-deployment.yaml b/keycloak/base/keycloak-deployment.yaml index 7cff8f3..0185535 100644 --- a/keycloak/base/keycloak-deployment.yaml +++ b/keycloak/base/keycloak-deployment.yaml @@ -21,8 +21,6 @@ spec: image: quay.io/keycloak/keycloak:26.1 args: - "start" - - "--hostname=https://keycloak.streams.sunet.se" - - "--hostname-admin=https://keycloak.streams.sunet.se" - "--verbose" env: - name: KC_HTTP_ENABLED @@ -42,9 +40,9 @@ spec: secretKeyRef: name: keycloak-admin-secret key: password - - name: KEYCLOAK_ADMIN + - name: KC_BOOTSTRAP_ADMIN_USERNAME value: "admin" - - name: KEYCLOAK_ADMIN_PASSWORD + - name: KC_BOOTSTRAP_ADMIN_PASSWORD valueFrom: secretKeyRef: name: keycloak-admin-secret @@ -62,11 +60,11 @@ spec: httpGet: path: /health/ready port: 9000 - # initialDelaySeconds: 5 # Delay before the probe starts - # periodSeconds: 15 - # timeoutSeconds: 3 - # successThreshold: 1 # Number of successful probes to consider the pod ready - # failureThreshold: 5 + initialDelaySeconds: 15 # Delay before the probe starts + periodSeconds: 15 + timeoutSeconds: 3 + successThreshold: 1 # Number of successful probes to consider the pod ready + failureThreshold: 5 volumeMounts: # - mountPath: /opt/keycloak/data/h2/ # name: storage diff --git a/keycloak/keycloak-application.yaml b/keycloak/keycloak-application.yaml index c213cd2..d20ef2f 100644 --- a/keycloak/keycloak-application.yaml +++ b/keycloak/keycloak-application.yaml @@ -7,7 +7,7 @@ spec: project: default source: repoURL: https://platform.sunet.se/streams/streams-manifests.git - targetRevision: streams-manifests-2025-01-31-v04 + targetRevision: streams-manifests-2025-01-31-v05 path: keycloak/overlays/test destination: server: https://kubernetes.default.svc