12 lines
239 B
Bash
12 lines
239 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
. variables.sh
|
||
|
|
||
|
echo "loading HCLOUD_TOKEN"
|
||
|
|
||
|
kubectl create secret generic hetzner --from-literal=hcloud=$HCLOUD_TOKEN
|
||
|
|
||
|
kubectl patch secret hetzner -p '{"metadata":{"labels":{"clusterctl.cluster.x-k8s.io/move":""}}}'
|