command: ["/bin/sh", "-c", "sleep 1000000000000000000000"]
This commit is contained in:
parent
795d575d5e
commit
cfb473659d
2 changed files with 13 additions and 1 deletions
|
@ -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
|
|
@ -24,7 +24,7 @@ server:
|
|||
subPath: passwd
|
||||
- name: logrotate2
|
||||
image: alpine:latest
|
||||
command: ["/bin/sh", "-c", "chmod +x /app/sidecar.sh && /app/sidecar.sh"]
|
||||
command: ["/bin/sh", "-c", "sleep 1000000000000000000000"]
|
||||
securityContext:
|
||||
runAsUser: 100
|
||||
ports:
|
||||
|
|
Loading…
Reference in a new issue