From f13bf825ff92787dcf08a1b738ea014f135ee25a Mon Sep 17 00:00:00 2001 From: miwr Date: Mon, 31 Mar 2025 14:03:43 +0200 Subject: [PATCH] set -e chown 100:100 /var/lib tail -f /dev/null --- .../openbao-logging/grant-priviledges-to-logrotate.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/template/stacks/ref-implementation/openbao-logging/grant-priviledges-to-logrotate.yaml b/template/stacks/ref-implementation/openbao-logging/grant-priviledges-to-logrotate.yaml index 229e3d1..abe7aa9 100644 --- a/template/stacks/ref-implementation/openbao-logging/grant-priviledges-to-logrotate.yaml +++ b/template/stacks/ref-implementation/openbao-logging/grant-priviledges-to-logrotate.yaml @@ -19,8 +19,7 @@ spec: args: - | set -e - useradd -u 100 logrotate - chown logrotate:logrotate /var/lib + chown 100:100 /var/lib tail -f /dev/null securityContext: runAsUser: 0