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:
parent
4e05fd0da1
commit
04f4cb0ba1
7 changed files with 471 additions and 574 deletions
|
@ -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"
|
||||
|
|
|
@ -95,6 +95,10 @@ kubectl apply -k https://github.com/argoproj/argo-cd.git/manifests/crds?ref=<app
|
|||
kubectl apply -k https://github.com/argoproj/argo-cd.git/manifests/crds?ref=v2.3.3
|
||||
```
|
||||
|
||||
### 4.6.0
|
||||
|
||||
This version starts to use upstream image with applicationset binary. Start command was changed from `applicationset-controller` to `argocd-applicationset-controller`
|
||||
|
||||
### 4.3.*
|
||||
|
||||
With this minor version, the notification notifier's `service.slack` is no longer configured by default.
|
||||
|
@ -635,7 +639,7 @@ NAME: my-release
|
|||
| redis.extraContainers | list | `[]` | Additional containers to be added to the redis pod |
|
||||
| redis.image.imagePullPolicy | string | `"IfNotPresent"` | Redis imagePullPolicy |
|
||||
| redis.image.repository | string | `"redis"` | Redis repository |
|
||||
| redis.image.tag | string | `"6.2.6-alpine"` | Redis tag |
|
||||
| redis.image.tag | string | `"7.0.0-alpine"` | Redis tag |
|
||||
| redis.imagePullSecrets | list | `[]` | Secrets with credentials to pull images from a private registry |
|
||||
| redis.initContainers | list | `[]` | Init containers to add to the redis pod |
|
||||
| redis.metrics.containerPort | int | `9121` | Port to use for redis-exporter sidecar |
|
||||
|
@ -698,7 +702,7 @@ The main options are listed here:
|
|||
| redis-ha.haproxy.image.tag | string | `nil` (follows subchart default) | HAProxy Image Tag |
|
||||
| redis-ha.haproxy.metrics.enabled | bool | `true` | HAProxy enable prometheus metric scraping |
|
||||
| redis-ha.image.repository | string | `nil` (follows subchart default) | Redis image repository |
|
||||
| redis-ha.image.tag | string | `"6.2.6-alpine"` | Redis tag |
|
||||
| redis-ha.image.tag | string | `"7.0.0-alpine"` | Redis tag |
|
||||
| redis-ha.persistentVolume.enabled | bool | `false` | Configures persistency on Redis nodes |
|
||||
| redis-ha.redis.config | object | See [values.yaml] | Any valid redis config options in this section will be applied to each server (see `redis-ha` chart) |
|
||||
| redis-ha.redis.config.save | string | `'""'` | Will save the DB if both the given number of seconds and the given number of write operations against the DB occurred. `""` is disabled |
|
||||
|
@ -739,8 +743,8 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
|||
| applicationSet.extraVolumeMounts | list | `[]` | List of extra mounts to add (normally used with extraVolumes) |
|
||||
| applicationSet.extraVolumes | list | `[]` | List of extra volumes to add |
|
||||
| applicationSet.image.imagePullPolicy | string | `""` (defaults to global.image.imagePullPolicy) | Image pull policy for the application set controller |
|
||||
| applicationSet.image.repository | string | `"quay.io/argoproj/argocd-applicationset"` | Repository to use for the application set controller |
|
||||
| applicationSet.image.tag | string | `"v0.4.1"` | Tag to use for the application set controller |
|
||||
| applicationSet.image.repository | string | `""` (defaults to global.image.repository) | Repository to use for the application set controller |
|
||||
| applicationSet.image.tag | string | `""` (defaults to global.image.tag) | Tag to use for the application set controller |
|
||||
| applicationSet.imagePullSecrets | list | `[]` | If defined, uses a Secret to pull an image from a private Docker registry or repository. |
|
||||
| applicationSet.metrics.enabled | bool | `false` | Deploy metrics service |
|
||||
| applicationSet.metrics.service.annotations | object | `{}` | Metrics service annotations |
|
||||
|
|
|
@ -95,6 +95,10 @@ kubectl apply -k https://github.com/argoproj/argo-cd.git/manifests/crds?ref=<app
|
|||
kubectl apply -k https://github.com/argoproj/argo-cd.git/manifests/crds?ref=v2.3.3
|
||||
```
|
||||
|
||||
### 4.6.0
|
||||
|
||||
This version starts to use upstream image with applicationset binary. Start command was changed from `applicationset-controller` to `argocd-applicationset-controller`
|
||||
|
||||
### 4.3.*
|
||||
|
||||
With this minor version, the notification notifier's `service.slack` is no longer configured by default.
|
||||
|
|
|
@ -282,35 +282,9 @@ spec:
|
|||
type: string
|
||||
version:
|
||||
description: Version is the Helm version to use for templating
|
||||
(either "2" or "3")
|
||||
("3")
|
||||
type: string
|
||||
type: object
|
||||
ksonnet:
|
||||
description: Ksonnet holds ksonnet specific options
|
||||
properties:
|
||||
environment:
|
||||
description: Environment is a ksonnet application environment
|
||||
name
|
||||
type: string
|
||||
parameters:
|
||||
description: Parameters are a list of ksonnet component
|
||||
parameter override values
|
||||
items:
|
||||
description: KsonnetParameter is a ksonnet component
|
||||
parameter
|
||||
properties:
|
||||
component:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
value:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- value
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
kustomize:
|
||||
description: Kustomize holds kustomize specific options
|
||||
properties:
|
||||
|
@ -655,34 +629,9 @@ spec:
|
|||
type: string
|
||||
version:
|
||||
description: Version is the Helm version to use for templating
|
||||
(either "2" or "3")
|
||||
("3")
|
||||
type: string
|
||||
type: object
|
||||
ksonnet:
|
||||
description: Ksonnet holds ksonnet specific options
|
||||
properties:
|
||||
environment:
|
||||
description: Environment is a ksonnet application environment
|
||||
name
|
||||
type: string
|
||||
parameters:
|
||||
description: Parameters are a list of ksonnet component parameter
|
||||
override values
|
||||
items:
|
||||
description: KsonnetParameter is a ksonnet component parameter
|
||||
properties:
|
||||
component:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
value:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- value
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
kustomize:
|
||||
description: Kustomize holds kustomize specific options
|
||||
properties:
|
||||
|
@ -1034,35 +983,9 @@ spec:
|
|||
type: string
|
||||
version:
|
||||
description: Version is the Helm version to use for
|
||||
templating (either "2" or "3")
|
||||
templating ("3")
|
||||
type: string
|
||||
type: object
|
||||
ksonnet:
|
||||
description: Ksonnet holds ksonnet specific options
|
||||
properties:
|
||||
environment:
|
||||
description: Environment is a ksonnet application environment
|
||||
name
|
||||
type: string
|
||||
parameters:
|
||||
description: Parameters are a list of ksonnet component
|
||||
parameter override values
|
||||
items:
|
||||
description: KsonnetParameter is a ksonnet component
|
||||
parameter
|
||||
properties:
|
||||
component:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
value:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- value
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
kustomize:
|
||||
description: Kustomize holds kustomize specific options
|
||||
properties:
|
||||
|
@ -1431,35 +1354,9 @@ spec:
|
|||
type: string
|
||||
version:
|
||||
description: Version is the Helm version to use
|
||||
for templating (either "2" or "3")
|
||||
for templating ("3")
|
||||
type: string
|
||||
type: object
|
||||
ksonnet:
|
||||
description: Ksonnet holds ksonnet specific options
|
||||
properties:
|
||||
environment:
|
||||
description: Environment is a ksonnet application
|
||||
environment name
|
||||
type: string
|
||||
parameters:
|
||||
description: Parameters are a list of ksonnet
|
||||
component parameter override values
|
||||
items:
|
||||
description: KsonnetParameter is a ksonnet component
|
||||
parameter
|
||||
properties:
|
||||
component:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
value:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- value
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
kustomize:
|
||||
description: Kustomize holds kustomize specific options
|
||||
properties:
|
||||
|
@ -1802,35 +1699,9 @@ spec:
|
|||
type: string
|
||||
version:
|
||||
description: Version is the Helm version to use for
|
||||
templating (either "2" or "3")
|
||||
templating ("3")
|
||||
type: string
|
||||
type: object
|
||||
ksonnet:
|
||||
description: Ksonnet holds ksonnet specific options
|
||||
properties:
|
||||
environment:
|
||||
description: Environment is a ksonnet application
|
||||
environment name
|
||||
type: string
|
||||
parameters:
|
||||
description: Parameters are a list of ksonnet component
|
||||
parameter override values
|
||||
items:
|
||||
description: KsonnetParameter is a ksonnet component
|
||||
parameter
|
||||
properties:
|
||||
component:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
value:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- value
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
kustomize:
|
||||
description: Kustomize holds kustomize specific options
|
||||
properties:
|
||||
|
@ -2162,35 +2033,9 @@ spec:
|
|||
type: string
|
||||
version:
|
||||
description: Version is the Helm version to use for
|
||||
templating (either "2" or "3")
|
||||
templating ("3")
|
||||
type: string
|
||||
type: object
|
||||
ksonnet:
|
||||
description: Ksonnet holds ksonnet specific options
|
||||
properties:
|
||||
environment:
|
||||
description: Environment is a ksonnet application
|
||||
environment name
|
||||
type: string
|
||||
parameters:
|
||||
description: Parameters are a list of ksonnet component
|
||||
parameter override values
|
||||
items:
|
||||
description: KsonnetParameter is a ksonnet component
|
||||
parameter
|
||||
properties:
|
||||
component:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
value:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- value
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
kustomize:
|
||||
description: Kustomize holds kustomize specific options
|
||||
properties:
|
||||
|
@ -2302,4 +2147,4 @@ spec:
|
|||
type: object
|
||||
served: true
|
||||
storage: true
|
||||
subresources: {}
|
||||
subresources: {}
|
File diff suppressed because it is too large
Load diff
|
@ -38,7 +38,8 @@ spec:
|
|||
securityContext:
|
||||
{{- toYaml .Values.applicationSet.securityContext | nindent 12 }}
|
||||
command:
|
||||
- applicationset-controller
|
||||
- entrypoint.sh
|
||||
- argocd-applicationset-controller
|
||||
- --metrics-addr={{ .Values.applicationSet.args.metricsAddr }}
|
||||
- --probe-addr={{ .Values.applicationSet.args.probeBindAddr }}
|
||||
{{- if or (gt ( .Values.applicationSet.replicaCount | int64) 1) .Values.applicationSet.args.enableLeaderElection }}
|
||||
|
|
|
@ -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: ""
|
||||
|
|
Loading…
Reference in a new issue