- 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
|
||||
subPath: logrotate.conf
|
||||
readOnly: true
|
||||
# - name: passwd-volume
|
||||
# mountPath: /etc/passwd
|
||||
# subPath: passwd
|
||||
- name: passwd-volume
|
||||
mountPath: /etc/passwd
|
||||
subPath: passwd
|
||||
- name: status
|
||||
mountPath: /var/lib
|
||||
restartPolicy: OnFailure
|
||||
|
@ -36,8 +36,8 @@ spec:
|
|||
- name: logrotate-config-volume
|
||||
configMap:
|
||||
name: logrotate-config
|
||||
# - name: passwd-volume
|
||||
# configMap:
|
||||
# name: passwd-user-configmap
|
||||
- name: passwd-volume
|
||||
configMap:
|
||||
name: passwd-user-configmap
|
||||
- name: status
|
||||
emptyDir: {}
|
|
@ -18,14 +18,9 @@ server:
|
|||
mountPath: /etc/passwd
|
||||
subPath: passwd
|
||||
volumes:
|
||||
- name: logrotate-config-volume
|
||||
configMap:
|
||||
name: logrotate-config
|
||||
- name: passwd-volume
|
||||
configMap:
|
||||
name: passwd-user-configmap
|
||||
- name: status
|
||||
emptyDir: {}
|
||||
- name: host-log-storage
|
||||
hostPath:
|
||||
path: /var/log
|
||||
|
|
Loading…
Reference in a new issue