IPCEICIS-2952 #31
1 changed files with 3 additions and 1 deletions
|
@ -19,7 +19,9 @@ spec:
|
||||||
args:
|
args:
|
||||||
- |
|
- |
|
||||||
set -e
|
set -e
|
||||||
chown 100:100 /var/lib
|
echo "logrotate:x:100:100::/home/logrotate:/bin/sh" >> /etc/passwd
|
||||||
|
echo "logrotate:x:100:" >> /etc/group
|
||||||
|
chown logrotate:logrotate /var/lib
|
||||||
tail -f /dev/null
|
tail -f /dev/null
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
|
|
Reference in a new issue