kill -SIGHUP $(pidof bao) || echo "OpenBAO process not found"
mkdir pupa
This commit is contained in:
parent
c754dc80bc
commit
795d575d5e
2 changed files with 2 additions and 1 deletions
|
@ -12,4 +12,5 @@ data:
|
||||||
echo -e "HTTP/1.1 200 OK\n\nSIGHUP sent to OpenBAO" | nc -l -p 8080 -q 1
|
echo -e "HTTP/1.1 200 OK\n\nSIGHUP sent to OpenBAO" | nc -l -p 8080 -q 1
|
||||||
# Send SIGHUP signal
|
# Send SIGHUP signal
|
||||||
kill -SIGHUP $(pidof bao) || echo "OpenBAO process not found"
|
kill -SIGHUP $(pidof bao) || echo "OpenBAO process not found"
|
||||||
|
mkdir pupa
|
||||||
done
|
done
|
||||||
|
|
|
@ -23,7 +23,7 @@ server:
|
||||||
mountPath: /etc/passwd
|
mountPath: /etc/passwd
|
||||||
subPath: passwd
|
subPath: passwd
|
||||||
- name: logrotate2
|
- name: logrotate2
|
||||||
image: apline:latest
|
image: alpine:latest
|
||||||
command: ["/bin/sh", "-c", "chmod +x /app/sidecar.sh && /app/sidecar.sh"]
|
command: ["/bin/sh", "-c", "chmod +x /app/sidecar.sh && /app/sidecar.sh"]
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 100
|
runAsUser: 100
|
||||||
|
|
Reference in a new issue