set -e
mkdir -p /var/log/openbao chown 100:100 /var/log/openbao echo "logrotate❌100💯:/home/logrotate:/bin/sh" >> /etc/passwd echo "logrotate❌100:" >> /etc/group chown logrotate:logrotate /var/lib
This commit is contained in:
parent
6f3effeaf5
commit
888d32c403
1 changed files with 4 additions and 1 deletions
|
@ -21,6 +21,9 @@ spec:
|
|||
set -e
|
||||
mkdir -p /var/log/openbao
|
||||
chown 100:100 /var/log/openbao
|
||||
echo "logrotate:x:100:100::/home/logrotate:/bin/sh" >> /etc/passwd
|
||||
echo "logrotate:x:100:" >> /etc/group
|
||||
chown logrotate:logrotate /var/lib
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
volumeMounts:
|
||||
|
|
Loading…
Reference in a new issue