feat: Use pre-generated deploy key
This commit is contained in:
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
*.key filter=git-crypt diff=git-crypt
|
||||||
1
.secretsignore
Normal file
1
.secretsignore
Normal file
@@ -0,0 +1 @@
|
|||||||
|
keys/*.key
|
||||||
@@ -124,5 +124,9 @@ cilium-cli status --wait
|
|||||||
# cilium-cli connectivity test --namespace-labels pod-security.kubernetes.io/enforce=privileged
|
# cilium-cli connectivity test --namespace-labels pod-security.kubernetes.io/enforce=privileged
|
||||||
|
|
||||||
echo "Bootstrapping flux..."
|
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=keys/${cluster_name}.key
|
||||||
|
--path=clusters/${cluster_name} \
|
||||||
--components-extra=source-watcher
|
--components-extra=source-watcher
|
||||||
|
|||||||
BIN
keys/testing.key
Normal file
BIN
keys/testing.key
Normal file
Binary file not shown.
1
keys/testing.key.pub
Normal file
1
keys/testing.key.pub
Normal file
@@ -0,0 +1 @@
|
|||||||
|
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJIjhlQCqpq97CQcM6hDThGBgt/jSqnvN9billcvouuNSyaKqZRdUFWxbauruXmVd5okuwjocyxU4FTuTtFyC5w= flux@testing
|
||||||
Reference in New Issue
Block a user