Use only env
Signed-off-by: Micke Nordin <kano@sunet.se>
This commit is contained in:
parent
69d19712e6
commit
e057150656
2 changed files with 8 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue