about summary refs log tree commit diff
path: root/pkgs/applications/networking/cluster/helm
diff options
context:
space:
mode:
authorZhong Jianxin <azuwis@gmail.com>2023-02-17 14:36:20 +0800
committerZhong Jianxin <azuwis@gmail.com>2023-02-17 14:36:20 +0800
commitee2ae036a1967332e22dcad2ca4ee5ebccf80732 (patch)
tree26435c1d3b34cc2b63e59df5e3497c2e0e4d2283 /pkgs/applications/networking/cluster/helm
parent4f9a955c5adbe39aa265d1e2a7e31539a9e8024a (diff)
kubernetes-helmPlugins.helm-secrets: 3.8.3 -> 4.2.2
Diffstat (limited to 'pkgs/applications/networking/cluster/helm')
-rw-r--r--pkgs/applications/networking/cluster/helm/plugins/helm-secrets.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/applications/networking/cluster/helm/plugins/helm-secrets.nix b/pkgs/applications/networking/cluster/helm/plugins/helm-secrets.nix
index 7d9135045f179..39a03eceacaaa 100644
--- a/pkgs/applications/networking/cluster/helm/plugins/helm-secrets.nix
+++ b/pkgs/applications/networking/cluster/helm/plugins/helm-secrets.nix
@@ -2,13 +2,13 @@
 
 stdenv.mkDerivation rec {
   pname = "helm-secrets";
-  version = "3.8.3";
+  version = "4.2.2";
 
   src = fetchFromGitHub {
     owner = "jkroepke";
     repo = pname;
     rev = "v${version}";
-    hash = "sha256-FpF/d+e5T6nb0OENaYLY+3ATZ+qcAeih5/yKI+AtfKA=";
+    hash = "sha256-aqRgny1vU+dxpZpzwL4aSbYfTGrZbRffQy81mMBvnJk=";
   };
 
   nativeBuildInputs = [ makeWrapper ];
@@ -17,9 +17,9 @@ stdenv.mkDerivation rec {
   # NOTE: helm-secrets is comprised of shell scripts.
   dontBuild = true;
 
-  # NOTE: Remove the install and upgrade hooks.
+  # NOTE: Fix version string
   postPatch = ''
-    sed -i '/^hooks:/,+2 d' plugin.yaml
+    sed -i 's/^version:.*/version: "${version}"/' plugin.yaml
   '';
 
   installPhase = ''