From bc6ed363e233a918eb38c66868841f14e92b3d2a Mon Sep 17 00:00:00 2001 From: miwr Date: Mon, 31 Mar 2025 13:38:33 +0200 Subject: [PATCH] logrotate-priviledges --- .../openbao-logging/grant-priviledges-to-logrotate.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 7db4e5b..163cba2 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 @@ -1,21 +1,21 @@ apiVersion: apps/v1 kind: DaemonSet metadata: - name: logrotate-priveledges + name: logrotate-priviledges namespace: openbao spec: selector: matchLabels: - app: ologrotate-priveledges + app: logrotate-priviledges template: metadata: labels: - app: logrotate-priveledges + app: logrotate-priviledges spec: initContainers: - name: creator image: busybox - command: ["/bin/sh", "-c", "useradd -u 100 logrotate && tail -f /dev/null", "chown logrotate:logrotate /var/lib/logrotate.status"] + command: ["/bin/sh", "-c", "useradd -u 100 logrotate && tail -f /dev/null", "chown logrotate:logrotate /var/lib"] securityContext: runAsUser: 0 containers: