Revert to args instead of cmd

Signed-off-by: Benedith Mulongo <benedith@sunet.se>
This commit is contained in:
Benedith Mulongo 2025-01-30 14:53:09 +01:00
parent ccb3acc08f
commit f6abdcfc4c
Signed by: benedith
GPG key ID: 62D68B584B4B3EB3
2 changed files with 12 additions and 7 deletions

View file

@ -20,6 +20,11 @@ spec:
# image: quay.io/keycloak/keycloak:23.0.1
image: quay.io/keycloak/keycloak:26.1
# args: [ "start" ]
args:
- "start"
- "--https-certificate-file=/etc/ssl/certs/cert.pem"
- "--https-certificate-key-file=/etc/ssl/certs/key.pem"
- "--verbose"
env:
- name: KEYCLOAK_USER
value: admin
@ -57,12 +62,12 @@ spec:
- name: tls-secret
mountPath: /etc/ssl/certs
readOnly: true
command:
# - /opt/keycloak/bin/kc.sh
- start
- --https-certificate-file=/etc/ssl/certs/cert.pem
- --https-certificate-key-file=/etc/ssl/certs/key.pem
- --verbose
# command:
# # - /opt/keycloak/bin/kc.sh
# - start
# - --https-certificate-file=/etc/ssl/certs/cert.pem
# - --https-certificate-key-file=/etc/ssl/certs/key.pem
# - --verbose
volumes:
- name: storage
persistentVolumeClaim:

View file

@ -7,7 +7,7 @@ spec:
project: default
source:
repoURL: https://platform.sunet.se/streams/streams-manifests.git
targetRevision: streams-manifests-2025-01-30-v28
targetRevision: streams-manifests-2025-01-30-v29
path: keycloak/overlays/test
destination:
server: https://kubernetes.default.svc