19 lines
347 B
Bash
19 lines
347 B
Bash
|
#!/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
|
||
|
|