Testdays - mount secret volume

This commit is contained in:
Josef Skladanka 2025-04-07 12:07:19 +02:00
parent d42c254ee4
commit 2351b7a46f

View file

@ -58,6 +58,10 @@ spec:
value: "1" value: "1"
- name: IS_OPENSHIFT - name: IS_OPENSHIFT
value: "1" value: "1"
volumeMounts:
- name: testdays-secret-volume
mountPath: /opt/app-root/secret/
readOnly: true
readinessProbe: readinessProbe:
timeoutSeconds: 1 timeoutSeconds: 1
initialDelaySeconds: 5 initialDelaySeconds: 5
@ -70,6 +74,10 @@ spec:
httpGet: httpGet:
path: / path: /
port: 8080 port: 8080
volumes:
- name: testdays-secret-volume
secret:
secretName: testdays-secret
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment