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 image: quay.io/keycloak/keycloak:26.1
args: args:
- "start" - "start"
- "--hostname=https://keycloak.streams.sunet.se"
- "--hostname-admin=https://keycloak.streams.sunet.se"
- "--verbose" - "--verbose"
env: env:
- name: KC_HTTP_ENABLED - name: KC_HTTP_ENABLED
@ -42,9 +40,9 @@ spec:
secretKeyRef: secretKeyRef:
name: keycloak-admin-secret name: keycloak-admin-secret
key: password key: password
- name: KEYCLOAK_ADMIN - name: KC_BOOTSTRAP_ADMIN_USERNAME
value: "admin" value: "admin"
- name: KEYCLOAK_ADMIN_PASSWORD - name: KC_BOOTSTRAP_ADMIN_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: keycloak-admin-secret name: keycloak-admin-secret
@ -62,11 +60,11 @@ spec:
httpGet: httpGet:
path: /health/ready path: /health/ready
port: 9000 port: 9000
# initialDelaySeconds: 5 # Delay before the probe starts initialDelaySeconds: 15 # Delay before the probe starts
# periodSeconds: 15 periodSeconds: 15
# timeoutSeconds: 3 timeoutSeconds: 3
# successThreshold: 1 # Number of successful probes to consider the pod ready successThreshold: 1 # Number of successful probes to consider the pod ready
# failureThreshold: 5 failureThreshold: 5
volumeMounts: volumeMounts:
# - mountPath: /opt/keycloak/data/h2/ # - mountPath: /opt/keycloak/data/h2/
# name: storage # name: storage

View file

@ -7,7 +7,7 @@ spec:
project: default project: default
source: source:
repoURL: https://platform.sunet.se/streams/streams-manifests.git 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 path: keycloak/overlays/test
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc