diff options
Diffstat (limited to 'overrides/kontemplate/default.nix')
-rw-r--r-- | overrides/kontemplate/default.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/overrides/kontemplate/default.nix b/overrides/kontemplate/default.nix index 40f6b68b2962..74693c38377f 100644 --- a/overrides/kontemplate/default.nix +++ b/overrides/kontemplate/default.nix @@ -9,6 +9,11 @@ let master = pkgs.third_party.kontemplate.overrideAttrs(_: { }; }); in pkgs.third_party.writeShellScriptBin "kontemplate" '' - export PATH="${pkgs.tools.kms_pass}/bin:$PATH" - exec ${master}/bin/kontemplate $@ + export PATH="${pkgs.ops.kms_pass}/bin:$PATH" + + if [[ -z $1 ]]; then + exec ${master}/bin/kontemplate + fi + + exec ${master}/bin/kontemplate $1 ${./../..}/ops/infra/kubernetes/primary-cluster.yaml ''${@:2} '' |