Skip to content

Commit

Permalink
allow kubeconfig to not be set (#65)
Browse files Browse the repository at this point in the history
Co-authored-by: Cody McGinnis <cody@mcginnis.dev>
  • Loading branch information
BrainWart and BrainWart committed Jun 4, 2024
1 parent 060f475 commit b5dc95c
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:-${kubeconfig}}' \
--run 'export KUBECONFIG=''${KUBECONFIG:-${toString kubeconfig}}' \
--set KUBECTL_EXTERNAL_DIFF '${diff}' \
--set MANIFEST '${result}'
'';
Expand Down

0 comments on commit b5dc95c

Please sign in to comment.