fp/scripts/flux-bootstrap-prod.sh

17 lines
590 B
Bash
Raw Normal View History

2024-05-28 05:17:49 +00:00
#!/bin/bash
2024-06-17 17:46:32 +00:00
## this way is annoying because deployment asks for git password
# flux bootstrap git \
# --kubeconfig /home/cj/.kube/vke.yaml \
# --url=https://gitea.futureporn.net/futureporn/fp.git \
# --branch=main \
# --username=cj_clippy \
# --token-auth=true \
# --path=clusters/production
## this way is more automatic although it does ask for yes/no confirmation that the ssh key has repo access
2024-05-28 05:17:49 +00:00
flux bootstrap git \
2024-06-17 17:46:32 +00:00
--url="ssh://git@gitea.futureporn.net:2222/futureporn/fp" \
2024-05-28 05:17:49 +00:00
--branch=main \
2024-06-17 17:46:32 +00:00
--path="clusters/production" \
--private-key-file=/home/cj/.ssh/fp-flux