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

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-30-v28 targetRevision: streams-manifests-2025-01-30-v29
path: keycloak/overlays/test path: keycloak/overlays/test
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc