another try

This commit is contained in:
miwr 2025-04-22 14:46:41 +02:00
parent 87ce37972d
commit d17861bc87

View file

@ -22,19 +22,19 @@ server:
- name: passwd-volume - name: passwd-volume
mountPath: /etc/passwd mountPath: /etc/passwd
subPath: passwd subPath: passwd
- name: logrotate2 # - name: logrotate2
image: alpine:latest # image: alpine:latest
command: ["/bin/sh", "-c", "/tmp/sidecar.sh"] # command: ["/bin/sh", "-c", "/tmp/sidecar.sh"]
securityContext: # securityContext:
runAsUser: 100 # runAsUser: 100
ports: # ports:
- containerPort: 8081 # - containerPort: 8081
volumeMounts: # volumeMounts:
- name: passwd-volume # - name: passwd-volume
mountPath: /etc/passwd # mountPath: /etc/passwd
subPath: passwd # subPath: passwd
- name: sidecar-script # - name: sidecar-script
mountPath: /tmp # mountPath: /tmp
- name: sidecar - name: sidecar
image: alpine:latest image: alpine:latest
command: ["/bin/sh", "/tmp/start.sh"] command: ["/bin/sh", "/tmp/start.sh"]