- name: passwd-volume
mountPath: /etc/passwd subPath: passwd
This commit is contained in:
parent
feae2ff010
commit
cee7ba8ff3
2 changed files with 6 additions and 11 deletions
|
@ -22,9 +22,9 @@ spec:
|
||||||
mountPath: /etc/logrotate.conf
|
mountPath: /etc/logrotate.conf
|
||||||
subPath: logrotate.conf
|
subPath: logrotate.conf
|
||||||
readOnly: true
|
readOnly: true
|
||||||
# - name: passwd-volume
|
- name: passwd-volume
|
||||||
# mountPath: /etc/passwd
|
mountPath: /etc/passwd
|
||||||
# subPath: passwd
|
subPath: passwd
|
||||||
- name: status
|
- name: status
|
||||||
mountPath: /var/lib
|
mountPath: /var/lib
|
||||||
restartPolicy: OnFailure
|
restartPolicy: OnFailure
|
||||||
|
@ -36,8 +36,8 @@ spec:
|
||||||
- name: logrotate-config-volume
|
- name: logrotate-config-volume
|
||||||
configMap:
|
configMap:
|
||||||
name: logrotate-config
|
name: logrotate-config
|
||||||
# - name: passwd-volume
|
- name: passwd-volume
|
||||||
# configMap:
|
configMap:
|
||||||
# name: passwd-user-configmap
|
name: passwd-user-configmap
|
||||||
- name: status
|
- name: status
|
||||||
emptyDir: {}
|
emptyDir: {}
|
|
@ -18,14 +18,9 @@ server:
|
||||||
mountPath: /etc/passwd
|
mountPath: /etc/passwd
|
||||||
subPath: passwd
|
subPath: passwd
|
||||||
volumes:
|
volumes:
|
||||||
- name: logrotate-config-volume
|
|
||||||
configMap:
|
|
||||||
name: logrotate-config
|
|
||||||
- name: passwd-volume
|
- name: passwd-volume
|
||||||
configMap:
|
configMap:
|
||||||
name: passwd-user-configmap
|
name: passwd-user-configmap
|
||||||
- name: status
|
|
||||||
emptyDir: {}
|
|
||||||
- name: host-log-storage
|
- name: host-log-storage
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /var/log
|
path: /var/log
|
||||||
|
|
Loading…
Reference in a new issue