those command were deleted
This commit is contained in:
parent
5f5ac62b0b
commit
4601d2f25d
1 changed files with 0 additions and 2 deletions
|
@ -2,7 +2,6 @@ server:
|
||||||
extraContainers:
|
extraContainers:
|
||||||
- name: grafana-alloy
|
- name: grafana-alloy
|
||||||
image: grafana/alloy:latest
|
image: grafana/alloy:latest
|
||||||
command: ["/bin/sh", "-c", "while [ -f /openbao/logs/alive/main.alive ]; do sleep 5; done; echo 'Main container exited, waiting 20s'; sleep 20; exit 1"]
|
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 12345
|
- containerPort: 12345
|
||||||
securityContext:
|
securityContext:
|
||||||
|
@ -33,7 +32,6 @@ server:
|
||||||
- sh
|
- sh
|
||||||
- -c
|
- -c
|
||||||
- |
|
- |
|
||||||
touch /shared/main.alive; trap 'rm -f /shared/main.alive; exit 0' TERM; while true; do sleep 1; done
|
|
||||||
sleep 10
|
sleep 10
|
||||||
bao operator init >> /tmp/init.txt
|
bao operator init >> /tmp/init.txt
|
||||||
cat /tmp/init.txt | grep "Key " | awk '{print $NF}' | xargs -I{} bao operator unseal {}
|
cat /tmp/init.txt | grep "Key " | awk '{print $NF}' | xargs -I{} bao operator unseal {}
|
||||||
|
|
Loading…
Reference in a new issue