IPCEICIS-2952 #31
1 changed files with 3 additions and 1 deletions
|
@ -19,7 +19,9 @@ spec:
|
|||
args:
|
||||
- |
|
||||
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
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
|
|
Reference in a new issue