Apply the git repo to the cluster.

This commit is contained in:
Tom Alexander
2025-12-21 23:48:17 -05:00
parent c3aa678a9b
commit 83ea14b0a4
5 changed files with 56 additions and 332 deletions

View File

@@ -1,11 +1,20 @@
{
k8s,
runCommand,
symlinkJoin,
...
}:
let
scripts = runCommand "scripts" { } ''
mkdir $out
cp ${k8s.deploy_script} $out/deploy_script
cp ${k8s.bootstrap_script} $out/bootstrap_script
'';
in
symlinkJoin {
name = "k8s-keys";
paths = [
scripts
k8s.ca
k8s.encryption_config
]