kubernetes: clarifier volume config et sync localtime
This commit is contained in:
parent
b15528d735
commit
3fbcebf7fc
1 changed files with 16 additions and 2 deletions
|
@ -23,9 +23,23 @@ spec:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config-secret
|
- name: config-secret
|
||||||
mountPath: '/etc/agecemorg/config.yaml'
|
mountPath: '/etc/agecemorg/'
|
||||||
|
readOnly: true
|
||||||
|
- name: localtime
|
||||||
|
mountPath: /etc/localtime
|
||||||
readOnly: true
|
readOnly: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: config-secret
|
- name: config-secret
|
||||||
secret:
|
secret:
|
||||||
secretName: agecemorg-config
|
secretName: agecemorg-config-secret
|
||||||
|
items:
|
||||||
|
- key: config.yaml
|
||||||
|
path: config.yaml
|
||||||
|
#- key: cert.pem
|
||||||
|
# path: cert.pem
|
||||||
|
#- key: key.pem
|
||||||
|
# path: key.pem
|
||||||
|
- name: localtime
|
||||||
|
hostPath:
|
||||||
|
path: /etc/localtime
|
||||||
|
type: File
|
||||||
|
|
Loading…
Add table
Reference in a new issue