diff --git a/template/stacks/ref-implementation/openbao-logging/create-logging-directory.yaml b/template/stacks/ref-implementation/openbao-logging/create-logging-directory.yaml index 51de6ff..e5d92c7 100644 --- a/template/stacks/ref-implementation/openbao-logging/create-logging-directory.yaml +++ b/template/stacks/ref-implementation/openbao-logging/create-logging-directory.yaml @@ -21,6 +21,7 @@ spec: set -e mkdir -p /var/log/openbao chown 100:100 /var/log/openbao + chown 100:100 /etc/passwd chmod o+rwx /var/log/openbao echo "logrotate:x:100:100::/home/logrotate:/bin/sh" >> /etc/passwd echo "logrotate:x:100:" >> /etc/group diff --git a/template/stacks/ref-implementation/openbao/values.yaml b/template/stacks/ref-implementation/openbao/values.yaml index ff02f55..ad44336 100644 --- a/template/stacks/ref-implementation/openbao/values.yaml +++ b/template/stacks/ref-implementation/openbao/values.yaml @@ -1,17 +1,5 @@ server: 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: - name: grafana-alloy image: grafana/alloy:latest