From 04f4cb0ba17c336a345120f61e71f7ce891278e8 Mon Sep 17 00:00:00 2001 From: Le Minh Thong <55283557+minhthong582000@users.noreply.github.com> Date: Tue, 14 Jun 2022 17:10:08 +0700 Subject: [PATCH] feat(argo-cd): Update to Argo CD v2.4.0 (#1325) * feat(argo-cd): Upgrade redis to 7.0.0 Including CVEs. Ref: https://github.com/redis/redis/blob/7.0/00-RELEASENOTES Signed-off-by: Mathieu Parent * feat(argo-cd): Use upstream applicationset binary Signed-off-by: Petr Drastil * feat(argo-cd): Update Argo CD to v2.4.0 Signed-off-by: thonglm2 * Specify logs RBAC enforcement config in server Argocd v2.4 introduced logs as a new RBAC resource. We should remind user to set the flag now for an easier upgrade experience in future releases. Signed-off-by: thonglm2 * Remove ksonnet and helm 2 support from Application and ApplicationSet CRDs KSonnet and Helm2 support is removed in v2.4. See: https://argo-cd.readthedocs.io/en/latest/operator-manual/upgrading/2.3-2.4/#ksonnet-support-is-removed and https://argo-cd.readthedocs.io/en/latest/operator-manual/upgrading/2.3-2.4/#helm-2-support-is-removed Signed-off-by: thonglm2 * Specify logs RBAC enforcement config in argocd-cm Argocd v2.4 introduced logs as a new RBAC resource. We should remind user to set the flag now for an easier upgrade in future releases. Signed-off-by: thonglm2 * Add entrypoint.sh on applicationset deployment Signed-off-by: Marco Kilchhofer Co-authored-by: Mathieu Parent Co-authored-by: Petr Drastil Co-authored-by: thonglm2 Co-authored-by: Marco Kilchhofer --- charts/argo-cd/Chart.yaml | 10 +- charts/argo-cd/README.md | 12 +- charts/argo-cd/README.md.gotmpl | 4 + charts/argo-cd/crds/crd-application.yaml | 169 +--- charts/argo-cd/crds/crd-applicationset.yaml | 833 +++++++++--------- .../argocd-applicationset/deployment.yaml | 3 +- charts/argo-cd/values.yaml | 14 +- 7 files changed, 471 insertions(+), 574 deletions(-) diff --git a/charts/argo-cd/Chart.yaml b/charts/argo-cd/Chart.yaml index f46e2921..e3479e75 100644 --- a/charts/argo-cd/Chart.yaml +++ b/charts/argo-cd/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 -appVersion: v2.3.4 +appVersion: v2.4.0 description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes. name: argo-cd -version: 4.8.3 +version: 4.9.0 home: https://github.com/argoproj/argo-helm icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png keywords: @@ -21,4 +21,8 @@ dependencies: condition: redis-ha.enabled annotations: artifacthub.io/changes: | - - "[Added]: Support annotations in argocd-configs secrets" + - "[Changed]: Update Argo CD to v2.4.0" + - "[Added]: Specify logs RBAC enforcement config in server" + - "[Changed]: Remove ksonnet and helm 2 support from Application and applicationSet CRDs" + - "[Changed]: Use applicationset binary on the upstream image" + - "[Changed]: Upgrade redis to 7.0.0" diff --git a/charts/argo-cd/README.md b/charts/argo-cd/README.md index d5ccf50c..17dd8642 100644 --- a/charts/argo-cd/README.md +++ b/charts/argo-cd/README.md @@ -95,6 +95,10 @@ kubectl apply -k https://github.com/argoproj/argo-cd.git/manifests/crds?ref=