argo-cd v2.13.4 版本更新介绍
发布日期: 2025-01-29
版本号: v2.13.4
Argo CD v2.13.4版本提供了非HA和HA两种安装方式。非HA模式下,需先创建argocd命名空间,再通过kubectl应用指定YAML文件完成安装;HA模式则使用对应的HA版安装文件。该版本所有容器镜像均通过cosign签名,且符合SLSA Level 3安全标准。升级时需注意阅读跨小版本升级文档。更新内容包含:修复应用集事件命名空间配置失效、登录返回URL路径异常、OCI仓库凭证回退机制等问题;更新了文档中资源监控部分的截图示例;升级了go-git依赖至v5.13版本;优化了自定义基路径下的应用URL生成逻辑。完整更新日志可参考官方GitHub版本对比记录。
更新内容 (中文)
快速入门
非高可用:
kubectl create namespace argocd
kubectl apply -n argocd -f https:\/\/raw.githubusercontent.com\/argoproj\/argo-cd\/v2.13.4\/manifests\/install.yaml
高可用:
kubectl create namespace argocd
kubectl apply -n argocd -f https:\/\/raw.githubusercontent.com\/argoproj\/argo-cd\/v2.13.4\/manifests\/ha\/install.yaml
发布签名与来源证明
所有 Argo CD 容器镜像均通过 cosign 签名。符合 SLSA Level 3 规范的容器镜像和 CLI 二进制文件均生成来源证明。参见文档了解验证方法。
升级指南
若需从不同次要版本升级,请务必阅读升级文档。
更新日志
缺陷修复
- 2fe4536ed2179e41f28356e66c993646ba13f324: 修复(appset): 事件未遵循配置的命名空间 (#21219) (#21241) (#21520) (@eadred)
- 99aaf43bdb8627f602ff3959ed9375a3a5bcefb9: 修复: 当无集群匹配策略时,Policy/policy.open-cluster-management.io 卡在 progressing 状态 (#21296) (cherry-pick #21297) (#21594) (@gcp-cherry-pick-bot[bot])
- 2618ccca2d3b006d0efae31cf94c74f84fb992cd: 修复: 自定义服务器路径时登录 return_url 失效问题 (cherry-pick #21588) (#21603) (@gcp-cherry-pick-bot[bot])
- 53dc116353a90429b16dc88b56a4efc8fd559082: 修复: oras-go 客户端应在未指定凭证时回退至 docker 配置 (cherry-pick 2.13 #18133) (#20872) (@eestolano)
- fd67e4970facebd1237c91d71af03a96dd121d6e: 修复: 解决 ksonnet 应用的 appset 端到端测试失败问题 (cherry-pick #21580) (#21605) (@gcp-cherry-pick-bot[bot])
文档更新
- c0f847f301584dbdb41db7c28282ad4cbaa1e52c: 文档: 更新孤立资源监控章节的截图 #20510 (cherry-pick #20533) (#21489) (@gcp-cherry-pick-bot[bot])
- c8a62bb16231c382c2c3f4a5291d1737abcc704b: 文档: 在 .readthedocs.yaml 添加 mkdocs 配置项 (cherry-pick #21475) (#21609) (@gcp-cherry-pick-bot[bot])
依赖项更新
- 2e794fbbc590bcd98d655ef24c1f417ce64cfb53: 依赖: 升级 github.com/go-git/go-git/v5 从 5.12.0 至 5.13.0 (cherry-pick #21329) (#21401) (@gcp-cherry-pick-bot[bot])
- 38e02ab9e81ff06946ae5d819797759156bc8c94: 依赖: 升级 go-git 版本至 go-git/v5 5.13.1 (#21551) (@aali309)
其他工作
- 49163b09b196038c00f971e3f567fa63261e0e8b: 修复自定义基础路径的应用 URL (#21377) (#21515) (@gcp-cherry-pick-bot[bot])
- 10b9589f1cefda9b3559708abef3b3c316e99971: 合并来自 fork 的提交 (@svghadi)
完整更新日志: https://github.com/argoproj/argo-cd/compare/v2.13.3…v2.13.4
更新内容 (原始)
Quick Start
Non-HA:
kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/v2.13.4/manifests/install.yaml
HA:
kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/v2.13.4/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.
Upgrading
If upgrading from a different minor version, be sure to read the upgrading documentation.
Changelog
Bug fixes
- 2fe4536ed2179e41f28356e66c993646ba13f324: fix(appset): events not honouring configured namespaces (#21219) (#21241) (#21520) (@eadred)
- 99aaf43bdb8627f602ff3959ed9375a3a5bcefb9: fix: Policy/policy.open-cluster-management.io stuck in progressing status when no clusters match the policy (#21296) (cherry-pick #21297) (#21594) (@gcp-cherry-pick-bot[bot])
- 2618ccca2d3b006d0efae31cf94c74f84fb992cd: fix: login return_url doesn’t work with custom server paths (cherry-pick #21588) (#21603) (@gcp-cherry-pick-bot[bot])
- 53dc116353a90429b16dc88b56a4efc8fd559082: fix: oras-go client should fallback to docker config if no credentials specified (cherry-pick 2.13 #18133) (#20872) (@eestolano)
- fd67e4970facebd1237c91d71af03a96dd121d6e: fix: resolve the failing e2e appset tests for ksonnet applications (cherry-pick #21580) (#21605) (@gcp-cherry-pick-bot[bot])
Documentation
- c0f847f301584dbdb41db7c28282ad4cbaa1e52c: docs: Update Screenshot in Orphaned Resources Monitoring Section #20510 (cherry-pick #20533) (#21489) (@gcp-cherry-pick-bot[bot])
- c8a62bb16231c382c2c3f4a5291d1737abcc704b: docs: add mkdocs configuration stanza to .readthedocs.yaml (cherry-pick #21475) (#21609) (@gcp-cherry-pick-bot[bot])
Dependency updates
- 2e794fbbc590bcd98d655ef24c1f417ce64cfb53: chore(deps): bump github.com/go-git/go-git/v5 from 5.12.0 to 5.13.0 (cherry-pick #21329) (#21401) (@gcp-cherry-pick-bot[bot])
- 38e02ab9e81ff06946ae5d819797759156bc8c94: chore(deps): bump go-git version to go-git/v5 5.13.1 (#21551) (@aali309)
Other work
- 49163b09b196038c00f971e3f567fa63261e0e8b: Fix application url for custom base href (#21377) (#21515) (@gcp-cherry-pick-bot[bot])
- 10b9589f1cefda9b3559708abef3b3c316e99971: Merge commit from fork (@svghadi)
Full Changelog: https://github.com/argoproj/argo-cd/compare/v2.13.3...v2.13.4