Update scrtipts

This commit is contained in:
Nikolai Rodionov 2024-04-02 17:40:39 +02:00
parent 0c678e5ae9
commit 70904e6e48
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD
2 changed files with 2 additions and 2 deletions

View File

@ -6,4 +6,4 @@ metadata:
component: bootstrap
data:
provider: hetzner
cluster: k3s
kubernetes: k3s

View File

@ -20,7 +20,7 @@ kubernetes:
values: ["bootstrap"]
EOF
else
cmName=$(jq -r .[0].object.metadata.name $BINDING_CONTEXT_PATH)
cmName=$(jq -r .[0].object $BINDING_CONTEXT_PATH)
echo "ConfigMap '${cmName}' added"
PROVIDER=$(jq -r .[0].object.data.provider $BINDING_CONTEXT_PATH)
KUBERNETES=$(jq -r .[0].object.data.kubernetes $BINDING_CONTEXT_PATH)