Use only env

Signed-off-by: Micke Nordin <kano@sunet.se>
This commit is contained in:
Micke Nordin 2025-01-31 09:17:42 +01:00
parent 69d19712e6
commit e057150656
Signed by: Micke
GPG key ID: 0DA0A7A5708FE257
2 changed files with 8 additions and 10 deletions

View file

@ -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

View file

@ -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