mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-20 15:41:16 +00:00
helm-secrets: Fix CLI compatibility with Helm v4
While introducing support for Helm v4, helm-secrets has split up into multiple plugins [1], with the the v4-compatible manifest residing at "plugins/helm-secrets-cli/plugin.yaml" [2] in the source repo, while the manifest in the root directory [3] is compatible to Helm v3, not v4. This patch is minimally invasive and only restores the CLI; getter and post-renderer do not become available through this. [1]: https://github.com/jkroepke/helm-secrets/wiki/Installation#helm-4 [2]: https://github.com/jkroepke/helm-secrets/blob/main/plugins/helm-secrets-cli/plugin.yaml [3]: https://github.com/jkroepke/helm-secrets/blob/main/plugin.yaml Fixes: https://github.com/NixOS/nixpkgs/issues/536239
This commit is contained in:
@@ -40,8 +40,8 @@ stdenv.mkDerivation rec {
|
||||
runHook preInstall
|
||||
|
||||
install -dm755 $out/helm-secrets $out/helm-secrets/scripts
|
||||
install -m644 -Dt $out/helm-secrets plugin.yaml
|
||||
cp -r scripts/* $out/helm-secrets/scripts
|
||||
install -m644 -Dt $out/helm-secrets plugins/helm-secrets-cli/plugin.yaml
|
||||
cp -r plugins/helm-secrets-cli/scripts/* $out/helm-secrets/scripts
|
||||
wrapProgram $out/helm-secrets/scripts/run.sh \
|
||||
--prefix PATH : ${
|
||||
lib.makeBinPath [
|
||||
|
||||
Reference in New Issue
Block a user