passwd-user-configmap

This commit is contained in:
miwr 2025-04-01 11:35:26 +02:00
parent d3b60c036a
commit ad76195004
2 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,9 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: passwd-user-configmap
data:
passwd: |
root:x:0:0:root:/root:/bin/sh
openbao:x:100:1000::/home/openbao:/sbin/nologin
logrotate:x:100:100::/home/logrotate:/bin/sh

View file

@ -39,6 +39,9 @@ server:
- name: logrotate-config-volume
configMap:
name: logrotate-config
- name: passwd-volume
configMap:
name: passwd-user-configmap
- name: host-log-storage
hostPath:
path: /var/log
@ -48,6 +51,9 @@ server:
- mountPath: /openbao/logs
name: host-log-storage
readOnly: false
- mountPath: /etc/passwd
name: passwd-volume
subPath: passwd
extraArgs: "chmod o+rwx /etc/passwd"