chown 100:100 /etc/passwd
This commit is contained in:
parent
6df0858cdf
commit
77b571b768
2 changed files with 1 additions and 12 deletions
|
@ -21,6 +21,7 @@ spec:
|
||||||
set -e
|
set -e
|
||||||
mkdir -p /var/log/openbao
|
mkdir -p /var/log/openbao
|
||||||
chown 100:100 /var/log/openbao
|
chown 100:100 /var/log/openbao
|
||||||
|
chown 100:100 /etc/passwd
|
||||||
chmod o+rwx /var/log/openbao
|
chmod o+rwx /var/log/openbao
|
||||||
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
|
||||||
|
|
|
@ -1,17 +1,5 @@
|
||||||
server:
|
server:
|
||||||
shareProcessNamespace: true
|
shareProcessNamespace: true
|
||||||
extraInitContainers:
|
|
||||||
- name: init
|
|
||||||
image: alpine:latest
|
|
||||||
securityContext:
|
|
||||||
runAsUser: 0
|
|
||||||
volumeMounts:
|
|
||||||
- name: alloy-data
|
|
||||||
mountPath: /var/lib/alloy
|
|
||||||
- name: config-volume
|
|
||||||
mountPath: /etc/alloy
|
|
||||||
- name: host-log-storage
|
|
||||||
mountPath: /openbao/logs
|
|
||||||
extraContainers:
|
extraContainers:
|
||||||
- name: grafana-alloy
|
- name: grafana-alloy
|
||||||
image: grafana/alloy:latest
|
image: grafana/alloy:latest
|
||||||
|
|
Loading…
Reference in a new issue