diff options
author | Thiago Kenji Okada <thiagokokada@gmail.com> | 2022-06-05 11:36:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-05 11:36:17 +0100 |
commit | 33392fff69ebfdf5ba45eb179de914994b9b2596 (patch) | |
tree | a982992c5bb899df1d005c60150d580d3e1dbc90 /pkgs/applications/networking | |
parent | ff8bc2a514b237852e67784d5e2b646a9d8576f8 (diff) | |
parent | 5f45f1cd289f0219642ae0f43f55996fdb6e246d (diff) |
Merge pull request #175226 from bryanasdev000/argocd-234
argocd: 2.3.3 -> 2.3.4
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r-- | pkgs/applications/networking/cluster/argocd/default.nix | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/pkgs/applications/networking/cluster/argocd/default.nix b/pkgs/applications/networking/cluster/argocd/default.nix index 9ce9286e610c8..3500b1b75542f 100644 --- a/pkgs/applications/networking/cluster/argocd/default.nix +++ b/pkgs/applications/networking/cluster/argocd/default.nix @@ -2,19 +2,19 @@ buildGoModule rec { pname = "argocd"; - version = "2.3.3"; + version = "2.3.4"; src = fetchFromGitHub { owner = "argoproj"; repo = "argo-cd"; rev = "v${version}"; - sha256 = "sha256-ChgWqhkzVKhbyEA+g2flWK/WMxur7UHWXJUcLzp9RTE="; + sha256 = "sha256-pWDwmsLCXoK8EzipOPXUdYu75hPm5AIExXmgoA102Dg="; }; vendorSha256 = "sha256-XrIIMnn65Y10KnVTsmw6vLE53Zra1lWNFgklmaj3gF8="; - # Set target as ./cmd per release-cli - # https://github.com/argoproj/argo-cd/blob/master/Makefile#L222 + # Set target as ./cmd per cli-local + # https://github.com/argoproj/argo-cd/blob/master/Makefile#L227 subPackages = [ "cmd" ]; ldflags = @@ -26,6 +26,11 @@ buildGoModule rec { "-X ${package_url}.gitCommit=${src.rev}" "-X ${package_url}.gitTag=${src.rev}" "-X ${package_url}.gitTreeState=clean" + "-X ${package_url}.kubectlVersion=v0.23.1" + # NOTE: Update kubectlVersion when upgrading this package with + # go list -m k8s.io/client-go | head -n 1 | rev | cut -d' ' -f1 | rev + # Per https://github.com/argoproj/argo-cd/blob/master/Makefile#L18 + # Will need a way to automate it :P ]; nativeBuildInputs = [ installShellFiles ]; |