tvl-depot/overrides/kontemplate/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
305 B
Nix
Raw Normal View History

{ depot, ... }:
with depot;
third_party.writeShellScriptBin "kontemplate" ''
export PATH="${ops.kms_pass}/bin:$PATH"
if [[ -z $1 ]]; then
exec ${ops.kontemplate}/bin/kontemplate
fi
exec ${ops.kontemplate}/bin/kontemplate $1 ${./../..}/ops/infra/kubernetes/primary-cluster.yaml ''${@:2}
''