command: ["/bin/sh", "-c", "sleep 1000000000000000000000"]

This commit is contained in:
miwr 2025-04-02 13:46:04 +02:00
parent 795d575d5e
commit cfb473659d
2 changed files with 13 additions and 1 deletions

View file

@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: sidecar-script-service
namespace: openbao
spec:
selector:
app: logrotate2
ports:
- protocol: TCP
port: 8080
targetPort: 8080

View file

@ -24,7 +24,7 @@ server:
subPath: passwd subPath: passwd
- name: logrotate2 - name: logrotate2
image: alpine:latest image: alpine:latest
command: ["/bin/sh", "-c", "chmod +x /app/sidecar.sh && /app/sidecar.sh"] command: ["/bin/sh", "-c", "sleep 1000000000000000000000"]
securityContext: securityContext:
runAsUser: 100 runAsUser: 100
ports: ports: