Automated connection between OpenBAO and ESO
This commit is contained in:
parent
d0388bcd20
commit
a090677c0f
1 changed files with 3 additions and 1 deletions
|
@ -3,7 +3,7 @@ server:
|
|||
- sh
|
||||
- -c
|
||||
- |
|
||||
set -e
|
||||
echo --- unseal workaround
|
||||
|
||||
sleep 10
|
||||
bao operator init >> /tmp/init.txt
|
||||
|
@ -16,6 +16,8 @@ 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
|
||||
|
||||
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
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue