Testdays - mount secret volume
This commit is contained in:
parent
d42c254ee4
commit
2351b7a46f
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue