Apply the git repo to the cluster.
This commit is contained in:
@@ -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
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user