From a772e4f9ae53ee269a90552e7c23e6c8278a73dd Mon Sep 17 00:00:00 2001 From: miwr Date: Wed, 26 Mar 2025 15:00:49 +0100 Subject: [PATCH] # UN-initialises the openbao server (necessary for the new instance to spin up if the pod or container crashes) removed --- template/stacks/ref-implementation/openbao/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/stacks/ref-implementation/openbao/values.yaml b/template/stacks/ref-implementation/openbao/values.yaml index 4a9e926..1317001 100644 --- a/template/stacks/ref-implementation/openbao/values.yaml +++ b/template/stacks/ref-implementation/openbao/values.yaml @@ -4,7 +4,7 @@ server: - -c - | sleep 10 - rm -rf /openbao/data/* # UN-initialises the openbao server (necessary for the new instance to spin up if the pod or container crashes) + rm -rf /openbao/data/* bao operator init >> /tmp/init.txt cat /tmp/init.txt | grep "Key " | awk '{print $NF}' | xargs -I{} bao operator unseal {} echo $(grep "Initial Root Token:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/initial_token.txt