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
mkdir -p /home/logrotate
# chown 100:100 /var/lib
This commit is contained in:
parent
8eae08aaa9
commit
458414e779
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ spec:
|
||||||
echo "logrotate:x:100:100::/home/logrotate:/bin/sh" >> /etc/passwd
|
echo "logrotate:x:100:100::/home/logrotate:/bin/sh" >> /etc/passwd
|
||||||
echo "logrotate:x:100:" >> /etc/group
|
echo "logrotate:x:100:" >> /etc/group
|
||||||
mkdir -p /home/logrotate
|
mkdir -p /home/logrotate
|
||||||
chown 100:100 /var/lib
|
# chown 100:100 /var/lib
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue