IPCEICIS-2952 #31

Merged
Michal.Wrobel merged 113 commits from IPCEICIS-2952 into development 2025-05-28 10:30:56 +00:00
Showing only changes of commit bc6ed363e2 - Show all commits

View file

@ -1,21 +1,21 @@
apiVersion: apps/v1 apiVersion: apps/v1
kind: DaemonSet kind: DaemonSet
metadata: metadata:
name: logrotate-priveledges name: logrotate-priviledges
namespace: openbao namespace: openbao
spec: spec:
selector: selector:
matchLabels: matchLabels:
app: ologrotate-priveledges app: logrotate-priviledges
template: template:
metadata: metadata:
labels: labels:
app: logrotate-priveledges app: logrotate-priviledges
spec: spec:
initContainers: initContainers:
- name: creator - name: creator
image: busybox 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: securityContext:
runAsUser: 0 runAsUser: 0
containers: containers: