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 <math.parent@gmail.com>

* feat(argo-cd): Use upstream applicationset binary

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* feat(argo-cd): Update Argo CD to v2.4.0

Signed-off-by: thonglm2 <thonglm2@vng.com.vn>

* 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 <thonglm2@vng.com.vn>

* 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 <thonglm2@vng.com.vn>

* 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 <thonglm2@vng.com.vn>

* Add entrypoint.sh on applicationset deployment

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

Co-authored-by: Mathieu Parent <math.parent@gmail.com>
Co-authored-by: Petr Drastil <petr.drastil@gmail.com>
Co-authored-by: thonglm2 <thonglm2@vng.com.vn>
Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
Le Minh Thong 2022-06-14 17:10:08 +07:00 committed by GitHub
parent 4e05fd0da1
commit 04f4cb0ba1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 471 additions and 574 deletions

View file

@ -593,7 +593,7 @@ redis:
# -- Redis repository
repository: redis
# -- Redis tag
tag: 6.2.6-alpine
tag: 7.0.0-alpine
# -- Redis imagePullPolicy
imagePullPolicy: IfNotPresent
@ -818,7 +818,7 @@ redis-ha:
# @default -- `nil` (follows subchart default)
repository: ~
# -- Redis tag
tag: 6.2.6-alpine
tag: 7.0.0-alpine
## https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
topologySpreadConstraints:
@ -1227,6 +1227,10 @@ server:
# Argo CD instance label key
application.instanceLabelKey: argocd.argoproj.io/instance
# Enabled logs RBAC enforcement
# Ref: https://argo-cd.readthedocs.io/en/latest/operator-manual/upgrading/2.3-2.4/#enable-logs-rbac-enforcement
server.rbac.log.enforce.enable: "false"
# DEPRECATED: Please instead use configs.credentialTemplates and configs.repositories
# repositories: |
# - url: git@github.com:group/repo.git
@ -1974,9 +1978,11 @@ applicationSet:
image:
# -- Repository to use for the application set controller
repository: quay.io/argoproj/argocd-applicationset
# @default -- `""` (defaults to global.image.repository)
repository: ""
# -- Tag to use for the application set controller
tag: "v0.4.1"
# @default -- `""` (defaults to global.image.tag)
tag: ""
# -- Image pull policy for the application set controller
# @default -- `""` (defaults to global.image.imagePullPolicy)
imagePullPolicy: ""