12 lines
239 B
Bash
Executable File
12 lines
239 B
Bash
Executable File
#!/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":""}}}'
|