add fsGroup

This commit is contained in:
Micke Nordin 2025-01-31 11:12:41 +01:00
parent 56b8805f97
commit ca1c423020
Signed by: Micke
GPG key ID: 0DA0A7A5708FE257
2 changed files with 53 additions and 52 deletions

View file

@ -15,6 +15,10 @@ spec:
labels: labels:
app: keycloak app: keycloak
spec: spec:
securityContext:
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
containers: containers:
- name: keycloak - name: keycloak
image: quay.io/keycloak/keycloak:26.1 image: quay.io/keycloak/keycloak:26.1
@ -61,9 +65,6 @@ spec:
volumeMounts: volumeMounts:
- mountPath: /opt/keycloak/data/h2/ - mountPath: /opt/keycloak/data/h2/
name: storage name: storage
securityContext:
runAsUser: 1000
runAsGroup: 1000
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-31-v17 targetRevision: streams-manifests-2025-01-31-v18
path: keycloak/overlays/test path: keycloak/overlays/test
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc