feat: Use pre-generated deploy key

This commit is contained in:
2025-12-03 04:43:16 +01:00
parent 1085275c76
commit 39929c9a74
5 changed files with 8 additions and 1 deletions

1
.gitattributes vendored Normal file
View File

@@ -0,0 +1 @@
deploy.key filter=git-crypt diff=git-crypt

1
.secretsignore Normal file
View File

@@ -0,0 +1 @@
deploy.key

View File

@@ -124,5 +124,9 @@ cilium-cli status --wait
# cilium-cli connectivity test --namespace-labels pod-security.kubernetes.io/enforce=privileged
echo "Bootstrapping flux..."
flux bootstrap git --url ssh://git@huizinga.dev/infra/foundation --branch=main --path=clusters/${cluster_name} \
flux bootstrap git \
--url ssh://git@huizinga.dev/infra/foundation \
--branch=main \
--private-key-file=clusters/${cluster_name}/deploy.key -s \
--path=clusters/${cluster_name} \
--components-extra=source-watcher

BIN
clusters/testing/deploy.key Normal file

Binary file not shown.

View File

@@ -0,0 +1 @@
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBK59NC6hLyDf+9zeOQ0stZeay51UyUpoBgONh0xxJFIlgra5ojyhrrQVlfjcUqdLe5yijWU1nCxKpaFGDPMdNE4= flux@testing