发布日期: 2026-05-12
版本号: v3.4.2

Argo CD v3.4.2 版本已发布。快速安装分为非高可用和高可用两种模式,分别使用对应的安装清单文件进行部署,命名空间统一为 argocd。所有容器镜像和CLI二进制文件均通过 cosign 签名,并符合 SLSA Level 3 规范,验证方法详见官方文档。本次版本包含若干错误修复,例如避免不必要的路径更新调用以及防止权限验证器在API资源为空时发生 panic;同时更新了相关依赖项并进行了其他改进工作。如果从其他次要版本进行升级,请务必先查阅升级文档以获取指导。完整变更日志可查看 v3.4.1 到 v3.4.2 的比较记录。

更新内容 (中文)

快速开始

非高可用性部署:

kubectl create namespace argocd
kubectl apply -n argocd --server-side --force-conflicts -f https://raw.githubusercontent.com/argoproj/argo-cd/v3.4.2/manifests/install.yaml

高可用性部署:

kubectl create namespace argocd
kubectl apply -n argocd --server-side --force-conflicts -f https://raw.githubusercontent.com/argoproj/argo-cd/v3.4.2/manifests/ha/install.yaml

发布签名与来源证明

所有 Argo CD 容器镜像均由 cosign 签名。符合 SLSA 第3级规范的容器镜像和 CLI 二进制文件会生成来源证明。请参阅文档了解验证方法。

发布说明博客文章

如需了解本次发布的关键变更和改进的详细解析,请查看官方博客文章

升级指南

如果从不同的次版本升级,请务必阅读升级文档

更新日志

错误修复

  • b15e9e3cc5a89f0024974243f1dc90cc75194702 修复:回滚"修复:避免不必要地调用UpdateRevisionForPaths(#25151)"(针对3.4版本的cherry-pick #27241)(#27251) (argo-cd-cherry-pick-bot[bot], Alexander Matyushentsev)
  • 570ccbc5217f5231d0a843b1099667591432a605 修复:防止权限验证器中的nil APIResource导致panic(针对3.4版本的cherry-pick #26610)(#27752) (argo-cd-cherry-pick-bot[bot], Andy Lo-A-Foe)

依赖更新

  • 6eb621513ec513ab0a59b3b21e38e3874260707a 依赖:将github.com/moby/spdystream从0.5.0升级到0.5.1(针对3.4版本的cherry-pick #27401)(#27734) (argo-cd-cherry-pick-bot[bot], dependabot[bot])

其他工作

  • 35ea43c537d6e8948e67f347317fc4f88b325122 合并来自fork的提交 (Blake Pettersson)
  • bcb4298afc9fcff5f5d69f4e1db2d0a75983f42c 合并来自fork的提交 (Peter Jiang)
  • 4e715779c0d9ef5a0042843460062276ff72e53b 依赖:将otel/sdk升级到1.43.0(release-3.4)(#27806) (Nitish Kumar)
  • 6e227bad2b48620cfb1943828f973af8671139cf CI:固定setup-qemu-action、setup-buildx-action的镜像和goreleaser CLI版本(针对3.4版本的cherry-pick #27060)(#27731) (argo-cd-cherry-pick-bot[bot], Regina Voloshin)
  • 87e9148320749693624d08e3d6fa2cc217c672a0 修复(gitops-engine):将HideSecretData应用于Secrets的服务端差异比较结果(针对3.4版本的cherry-pick #27598)(#27754) (argo-cd-cherry-pick-bot[bot], Peter Jiang, downfa11)

完整变更日志:https://github.com/argoproj/argo-cd/compare/v3.4.1…v3.4.2

更新内容 (原始)

Quick Start

Non-HA:

kubectl create namespace argocd
kubectl apply -n argocd --server-side --force-conflicts -f https://raw.githubusercontent.com/argoproj/argo-cd/v3.4.2/manifests/install.yaml

HA:

kubectl create namespace argocd
kubectl apply -n argocd --server-side --force-conflicts -f https://raw.githubusercontent.com/argoproj/argo-cd/v3.4.2/manifests/ha/install.yaml

Release Signatures and Provenance

All Argo CD container images are signed by cosign. A Provenance is generated for container images and CLI binaries which meet the SLSA Level 3 specifications. See the documentation on how to verify.

Release Notes Blog Post

For a detailed breakdown of the key changes and improvements in this release, check out the official blog post

Upgrading

If upgrading from a different minor version, be sure to read the upgrading documentation.

Changelog

Bug fixes

  • b15e9e3cc5a89f0024974243f1dc90cc75194702 fix: Revert “fix: avoid calling UpdateRevisionForPaths unnecessary (#25151)” (cherry-pick #27241 for 3.4) (#27251) (argo-cd-cherry-pick-bot[bot], Alexander Matyushentsev)
  • 570ccbc5217f5231d0a843b1099667591432a605 fix: prevent panic on nil APIResource in permission validator (cherry-pick #26610 for 3.4) (#27752) (argo-cd-cherry-pick-bot[bot], Andy Lo-A-Foe)

Dependency updates

  • 6eb621513ec513ab0a59b3b21e38e3874260707a chore(deps): bump github.com/moby/spdystream from 0.5.0 to 0.5.1 (cherry-pick #27401 for 3.4) (#27734) (argo-cd-cherry-pick-bot[bot], dependabot[bot])

Other work

  • 35ea43c537d6e8948e67f347317fc4f88b325122 Merge commit from fork (Blake Pettersson)
  • bcb4298afc9fcff5f5d69f4e1db2d0a75983f42c Merge commit from fork (Peter Jiang)
  • 4e715779c0d9ef5a0042843460062276ff72e53b chore: bump otel/sdk to 1.43.0 (release-3.4) (#27806) (Nitish Kumar)
  • 6e227bad2b48620cfb1943828f973af8671139cf ci: pin images of setup-qemu-action, setup-buildx-action and goreleaser CLI version (cherry-pick #27060 for 3.4) (#27731) (argo-cd-cherry-pick-bot[bot], Regina Voloshin)
  • 87e9148320749693624d08e3d6fa2cc217c672a0 fix(gitops-engine): apply HideSecretData to server-side diff results for Secrets (cherry-pick #27598 for 3.4) (#27754) (argo-cd-cherry-pick-bot[bot], Peter Jiang, downfa11)

Full Changelog: https://github.com/argoproj/argo-cd/compare/v3.4.1...v3.4.2

下载链接