allow kubeconfig to not be set (#65)

Co-authored-by: Cody McGinnis <cody@mcginnis.dev>
This commit is contained in:
Cody McGinnis 2024-06-04 14:06:09 -04:00 committed by GitHub
parent 060f475729
commit b5dc95c847
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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}'
'';