Skip to content

Commit

Permalink
Allow overwriting kubeconfig at run-time of CLI script
Browse files Browse the repository at this point in the history
  • Loading branch information
pizzapim committed May 8, 2024
1 parent 8313374 commit 958eeb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/kubenix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ symlinkJoin {
postBuild = ''
wrapProgram $out/bin/kubenix \
--set PATH "$out/bin" \
--run 'export KUBECONFIG=${kubeconfig}' \
--run 'export KUBECONFIG=''${KUBECONFIG:-${kubeconfig}}' \
--set KUBECTL_EXTERNAL_DIFF '${diff}' \
--set MANIFEST '${result}'
'';
Expand Down

0 comments on commit 958eeb8

Please sign in to comment.