kill -SIGHUP $(pidof bao) || echo "OpenBAO process not found"

mkdir pupa
This commit is contained in:
miwr 2025-04-02 13:38:34 +02:00
parent c754dc80bc
commit 795d575d5e
2 changed files with 2 additions and 1 deletions

View file

@ -12,4 +12,5 @@ data:
echo -e "HTTP/1.1 200 OK\n\nSIGHUP sent to OpenBAO" | nc -l -p 8080 -q 1
# Send SIGHUP signal
kill -SIGHUP $(pidof bao) || echo "OpenBAO process not found"
mkdir pupa
done

View file

@ -23,7 +23,7 @@ server:
mountPath: /etc/passwd
subPath: passwd
- name: logrotate2
image: apline:latest
image: alpine:latest
command: ["/bin/sh", "-c", "chmod +x /app/sidecar.sh && /app/sidecar.sh"]
securityContext:
runAsUser: 100