- name: passwd-volume

mountPath: /etc/passwd
                subPath: passwd
This commit is contained in:
miwr 2025-04-23 14:27:15 +02:00
parent feae2ff010
commit cee7ba8ff3
2 changed files with 6 additions and 11 deletions

View file

@ -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: {}

View file

@ -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