From 80ca890f5f31c9e9769a9618c77286a5f099b360 Mon Sep 17 00:00:00 2001 From: miwr Date: Wed, 19 Mar 2025 13:20:34 +0100 Subject: [PATCH] - name: init-log-permissions image: busybox command: ["sh", "-c", "chown -R 1000:1000 /var/log && chmod -R 775 /var/log"] securityContext: runAsUser: 0 volumeMounts: - mountPath: /var/log name: log-storage --- template/stacks/ref-implementation/openbao/values.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/template/stacks/ref-implementation/openbao/values.yaml b/template/stacks/ref-implementation/openbao/values.yaml index 8ce0f7c..2d7d558 100644 --- a/template/stacks/ref-implementation/openbao/values.yaml +++ b/template/stacks/ref-implementation/openbao/values.yaml @@ -1,5 +1,13 @@ server: extraContainers: + - name: init-log-permissions + image: busybox + command: ["sh", "-c", "chown -R 1000:1000 /var/log && chmod -R 775 /var/log"] + securityContext: + runAsUser: 0 + volumeMounts: + - mountPath: /var/log + name: log-storage - name: log-sidecar image: alpine:latest command: ["/bin/sh", "-c", "