Automated connection between OpenBAO and ESO
This commit is contained in:
parent
a090677c0f
commit
b2e91d0163
1 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,7 @@ server:
|
|||
- -c
|
||||
- |
|
||||
echo --- unseal workaround
|
||||
echo --- unseal workaround > /tmp/eso_posthook
|
||||
|
||||
sleep 10
|
||||
bao operator init >> /tmp/init.txt
|
||||
|
@ -16,7 +17,9 @@ server:
|
|||
echo $(grep "Unseal Key 5:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/unseal_key5.txt
|
||||
rm /tmp/init.txt
|
||||
|
||||
|
||||
echo --- provide OpenBAO secret to ESO
|
||||
echo --- provide OpenBAO secret to ESO >> /tmp/eso_posthook
|
||||
|
||||
if [[ "$(uname -m)" == "x86_64" ]]; then
|
||||
wget "https://dl.k8s.io/release/$(wget https://dl.k8s.io/release/stable.txt -q -O -)/bin/linux/amd64/kubectl" -O /tmp/kubectl_eso
|
||||
|
|
Loading…
Reference in a new issue