feat: Use pre-generated deploy key
This commit is contained in:
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@@ -0,0 +1 @@
|
||||
deploy.key filter=git-crypt diff=git-crypt
|
||||
1
.secretsignore
Normal file
1
.secretsignore
Normal file
@@ -0,0 +1 @@
|
||||
deploy.key
|
||||
@@ -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
BIN
clusters/testing/deploy.key
Normal file
Binary file not shown.
1
clusters/testing/deploy.key.pub
Normal file
1
clusters/testing/deploy.key.pub
Normal file
@@ -0,0 +1 @@
|
||||
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBK59NC6hLyDf+9zeOQ0stZeay51UyUpoBgONh0xxJFIlgra5ojyhrrQVlfjcUqdLe5yijWU1nCxKpaFGDPMdNE4= flux@testing
|
||||
Reference in New Issue
Block a user