runAsUser: 1

This commit is contained in:
miwr 2025-03-31 15:53:54 +02:00
parent f66f437cdf
commit 1164768b9f

View file

@ -18,7 +18,7 @@ server:
image: skymatic/logrotate:latest image: skymatic/logrotate:latest
# command: ["/bin/sh", "-c", "while true; do /usr/sbin/logrotate /etc/logrotate.conf; sleep 60; done"] # command: ["/bin/sh", "-c", "while true; do /usr/sbin/logrotate /etc/logrotate.conf; sleep 60; done"]
securityContext: securityContext:
runAsUser: 100 runAsUser: 1
volumeMounts: volumeMounts:
- name: alloy-data - name: alloy-data
mountPath: /var/lib/ mountPath: /var/lib/