Update scrtipts
This commit is contained in:
parent
0c678e5ae9
commit
70904e6e48
@ -6,4 +6,4 @@ metadata:
|
|||||||
component: bootstrap
|
component: bootstrap
|
||||||
data:
|
data:
|
||||||
provider: hetzner
|
provider: hetzner
|
||||||
cluster: k3s
|
kubernetes: k3s
|
||||||
|
@ -20,7 +20,7 @@ kubernetes:
|
|||||||
values: ["bootstrap"]
|
values: ["bootstrap"]
|
||||||
EOF
|
EOF
|
||||||
else
|
else
|
||||||
cmName=$(jq -r .[0].object.metadata.name $BINDING_CONTEXT_PATH)
|
cmName=$(jq -r .[0].object $BINDING_CONTEXT_PATH)
|
||||||
echo "ConfigMap '${cmName}' added"
|
echo "ConfigMap '${cmName}' added"
|
||||||
PROVIDER=$(jq -r .[0].object.data.provider $BINDING_CONTEXT_PATH)
|
PROVIDER=$(jq -r .[0].object.data.provider $BINDING_CONTEXT_PATH)
|
||||||
KUBERNETES=$(jq -r .[0].object.data.kubernetes $BINDING_CONTEXT_PATH)
|
KUBERNETES=$(jq -r .[0].object.data.kubernetes $BINDING_CONTEXT_PATH)
|
||||||
|
Loading…
Reference in New Issue
Block a user