homeserver/friedhof/mgrote_fluxcd/templates/bootstrap.sh
Michael Grote e8d7c61ff2 Abbau k3s4 (#607)
Reviewed-on: #607
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2023-11-21 21:20:53 +01:00

4 lines
360 B
Bash

#!/bin/bash
ssh-keyscan -p {{ flux_repo_host_port }} {{ flux_repo_host }} > {{ flux_path_ssh_dir }}/known_hosts
flux bootstrap git --url={{ flux_repo_url_complete }} --interval={{ flux_sync_interval }} --branch={{ flux_repo_branch }} --path=cluster --kubeconfig {{ kubeconfig }} --private-key-file {{ flux_path_ssh_dir }}/{{ flux_path_ssh_id_file }} --silent