mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-11 23:50:06 +01:00
Suffix PATH on kubenix script (#67)
Fixes #66 Setting the `PATH` to `$out/bin` is causing programs from the original `PATH` (such as `gpg`) to be inaccessible to `vals` - causing decryption of sops secrets with `gpg` to fail.
This commit is contained in:
parent
823cc87e64
commit
a04066c455
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ symlinkJoin {
|
|||
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/kubenix \
|
||||
--set PATH "$out/bin" \
|
||||
--suffix PATH : "$out/bin" \
|
||||
--run 'export KUBECONFIG=''${KUBECONFIG:-${toString kubeconfig}}' \
|
||||
--set KUBECTL_EXTERNAL_DIFF '${diff}' \
|
||||
--set MANIFEST '${result}'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue