发布日期: 2024-11-20
版本号: v2.13.1

Argo CD v2.13.1版本提供了非HA和HA两种部署方式:非HA模式通过创建argocd命名空间并应用指定YAML文件完成安装,HA模式则使用高可用性配置的YAML文件。所有容器镜像均使用cosign签名,并符合SLSA Level 3安全标准,可通过官方文档验证发布文件。升级时需注意跨次要版本需参考升级指南。本次更新主要包含功能改进、错误修复及优化:新增禁用Kubernetes事件写入的选项;修复了PKCE认证流程、应用命名空间未定义导致的403错误、参数显示时的源码位置校验问题;优化了PodDisruptionBudget配置逻辑。完整更新内容可查看v2.13.0至v2.13.1的变更记录。

更新内容 (中文)

快速入门

非高可用模式:

kubectl create namespace argocd
kubectl apply -n argocd -f https:\/\/raw.githubusercontent.com\/argoproj\/argo-cd\/v2.13.1\/manifests\/install.yaml

高可用模式:

kubectl create namespace argocd
kubectl apply -n argocd -f https:\/\/raw.githubusercontent.com\/argoproj\/argo-cd\/v2.13.1\/manifests\/ha\/install.yaml

发布签名与来源验证

所有 Argo CD 容器镜像均通过 cosign 签名。符合 SLSA Level 3 规范的容器镜像和 CLI 二进制文件将生成来源证明。具体验证方法请参阅文档

升级指南

若需跨次要版本升级,请务必阅读升级文档

更新日志

新功能

  • 6a8cb6eff098ef6db623126fa0d93dcaa2f54bef: 新增禁用 Kubernetes 事件写入功能(#18205) (#18441) (#20788) (@Jack-R-lantern)

缺陷修复

  • 449e6939b2a729bba32d11f055d7c6067a44b9cc: 修复(pkce): 20202 回迁 PKCE 认证流中 basehref 和重新认证的修复 (#20675) (@austin5219)
  • 68606c6caf058f7c4f2ecdbb4381d2cba40aa249: 修复: 因应用命名空间未定义导致的重复 403 错误 (#20699) (#20819) (#20860) (@gcp-cherry-pick-bot[bot])
  • 99aab9a5f3812f2f4089ce6982d4764145271f78: 修复: 设置 –show-params 时检查源码位置 (#20682) (#20689) (@gcp-cherry-pick-bot[bot])
  • d03ccf305c60f7305a076e4b3c1c28e1749ba6c9: 修复: 禁用 automaxprocs 日志记录 (#20069) - 回迁至 2.13 版本 (#20718) (@pasha-codefresh)

其他改进

  • 7f45c9e09398b1d8e65ad9fdf1dab2dd2c1532d7: 优化: 当 Pod 数量不足时避免降低 PDB (#20171) (#20665) (#20694) (@gcp-cherry-pick-bot[bot])

完整更新日志: https://github.com/argoproj/argo-cd/compare/v2.13.0…v2.13.1

<a href="https://argoproj.github.io/cd/">img src="https://raw.githubusercontent.com/argoproj/argo-site/master/content/pages/cd/gitops-cd.png" width="25%" ></a>

更新内容 (原始)

Quick Start

Non-HA:

kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/v2.13.1/manifests/install.yaml

HA:

kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/v2.13.1/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

Features

  • 6a8cb6eff098ef6db623126fa0d93dcaa2f54bef: feat: option to disable writing k8s events(#18205) (#18441) (#20788) (@Jack-R-lantern)

Bug fixes

  • 449e6939b2a729bba32d11f055d7c6067a44b9cc: fix(pkce): 20202 Backport PKCE auth flow fix for basehref and reauth (#20675) (@austin5219)
  • 68606c6caf058f7c4f2ecdbb4381d2cba40aa249: fix: Fix repeated 403 due to app namespace being undefined (#20699) (#20819) (#20860) (@gcp-cherry-pick-bot[bot])
  • 99aab9a5f3812f2f4089ce6982d4764145271f78: fix: check for source position when –show-params is set (#20682) (#20689) (@gcp-cherry-pick-bot[bot])
  • d03ccf305c60f7305a076e4b3c1c28e1749ba6c9: fix: disable automaxprocs logging (#20069) - cherry-pick 2.13 (#20718) (@pasha-codefresh)

Other work

  • 7f45c9e09398b1d8e65ad9fdf1dab2dd2c1532d7: chore: Don’t degrade PDB on InsufficientPods (#20171) (#20665) (#20694) (@gcp-cherry-pick-bot[bot])

Full Changelog: https://github.com/argoproj/argo-cd/compare/v2.13.0...v2.13.1

下载链接