clank-bootstrapper/flux/bootstrap.sh

19 lines
347 B
Bash
Raw Normal View History

2022-12-10 22:08:07 +01:00
#!/bin/bash
set -e
. variables.sh
#eval "$(ssh-agent -s)"
#ssh-add keys/id_clank_management
flux bootstrap git \
--url="https://$MANAGEMENT_GITOPS_REPO" \
--branch="main" \
--path="clusters/clank-management" \
--kubeconfig="$CAPH_WORKER_CLUSTER_KUBECONFIG" \
--username="kjuulh" \
--password="$GITEA_TOKEN" \
--token-auth=true