Automated connection between OpenBAO and ESO

This commit is contained in:
Richard Robert Reitz 2025-04-28 09:54:23 +02:00
parent d0388bcd20
commit a090677c0f

View file

@ -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