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: