diff --git a/template/stacks/ref-implementation/openbao-logging/sidecar-script-service.yaml b/template/stacks/ref-implementation/openbao-logging/sidecar-script-service.yaml new file mode 100644 index 0000000..3c5462c --- /dev/null +++ b/template/stacks/ref-implementation/openbao-logging/sidecar-script-service.yaml @@ -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 diff --git a/template/stacks/ref-implementation/openbao/values.yaml b/template/stacks/ref-implementation/openbao/values.yaml index 74b4f58..81a48ab 100644 --- a/template/stacks/ref-implementation/openbao/values.yaml +++ b/template/stacks/ref-implementation/openbao/values.yaml @@ -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: