Add bootstrapper base
This commit is contained in:
11
clusterapi/load-secret.sh
Executable file
11
clusterapi/load-secret.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/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":""}}}'
|
Reference in New Issue
Block a user