feat(argo-cd): Upgrade Argo CD to 2.6.0 (#1758)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
This commit is contained in:
parent
05c79e322a
commit
0d3150ce67
9 changed files with 6001 additions and 49 deletions
|
@ -1,9 +1,9 @@
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: v2.5.10
|
appVersion: v2.6.0
|
||||||
kubeVersion: ">=1.22.0-0"
|
kubeVersion: ">=1.22.0-0"
|
||||||
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 5.19.15
|
version: 5.20.0
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||||
sources:
|
sources:
|
||||||
|
@ -23,5 +23,7 @@ dependencies:
|
||||||
condition: redis-ha.enabled
|
condition: redis-ha.enabled
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: added
|
- kind: changed
|
||||||
description: Configurable dnsPolicy / hostNetwork
|
description: Upgrade Argo CD to 2.6.0
|
||||||
|
- kind: deprecated
|
||||||
|
description: ApplicationSet args, logFormat and logLevel superseded by configs.params
|
||||||
|
|
|
@ -415,6 +415,8 @@ NAME: my-release
|
||||||
| configs.credentialTemplatesAnnotations | object | `{}` | Annotations to be added to `configs.credentialTemplates` Secret |
|
| configs.credentialTemplatesAnnotations | object | `{}` | Annotations to be added to `configs.credentialTemplates` Secret |
|
||||||
| configs.gpg.annotations | object | `{}` | Annotations to be added to argocd-gpg-keys-cm configmap |
|
| configs.gpg.annotations | object | `{}` | Annotations to be added to argocd-gpg-keys-cm configmap |
|
||||||
| configs.gpg.keys | object | `{}` (See [values.yaml]) | [GnuPG] public keys to add to the keyring |
|
| configs.gpg.keys | object | `{}` (See [values.yaml]) | [GnuPG] public keys to add to the keyring |
|
||||||
|
| configs.params."applicationsetcontroller.enable.progressive.syncs" | bool | `false` | Enables use of the Progressive Syncs capability |
|
||||||
|
| configs.params."applicationsetcontroller.policy" | string | `"sync"` | Modify how application is synced between the generator and the cluster. One of: `sync`, `create-only`, `create-update`, `create-delete` |
|
||||||
| configs.params."controller.operation.processors" | int | `10` | Number of application operation processors |
|
| configs.params."controller.operation.processors" | int | `10` | Number of application operation processors |
|
||||||
| configs.params."controller.repo.server.timeout.seconds" | int | `60` | Repo server RPC call timeout seconds. |
|
| configs.params."controller.repo.server.timeout.seconds" | int | `60` | Repo server RPC call timeout seconds. |
|
||||||
| configs.params."controller.self.heal.timeout.seconds" | int | `5` | Specifies timeout between application self heal attempts |
|
| configs.params."controller.self.heal.timeout.seconds" | int | `5` | Specifies timeout between application self heal attempts |
|
||||||
|
@ -971,8 +973,7 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
||||||
| Key | Type | Default | Description |
|
| Key | Type | Default | Description |
|
||||||
|-----|------|---------|-------------|
|
|-----|------|---------|-------------|
|
||||||
| applicationSet.affinity | object | `{}` | Assign custom [affinity] rules |
|
| applicationSet.affinity | object | `{}` | Assign custom [affinity] rules |
|
||||||
| applicationSet.args.dryRun | bool | `false` | Enable dry run mode |
|
| applicationSet.args | object | `{}` | DEPRECATED - ApplicationSet controller command line flags |
|
||||||
| applicationSet.args.policy | string | `"sync"` | How application is synced between the generator and the cluster |
|
|
||||||
| applicationSet.containerPorts.metrics | int | `8080` | Metrics container port |
|
| applicationSet.containerPorts.metrics | int | `8080` | Metrics container port |
|
||||||
| applicationSet.containerPorts.probe | int | `8081` | Probe container port |
|
| applicationSet.containerPorts.probe | int | `8081` | Probe container port |
|
||||||
| applicationSet.containerPorts.webhook | int | `7000` | Webhook container port |
|
| applicationSet.containerPorts.webhook | int | `7000` | Webhook container port |
|
||||||
|
@ -996,8 +997,6 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
||||||
| applicationSet.livenessProbe.periodSeconds | int | `10` | How often (in seconds) to perform the [probe] |
|
| applicationSet.livenessProbe.periodSeconds | int | `10` | How often (in seconds) to perform the [probe] |
|
||||||
| applicationSet.livenessProbe.successThreshold | int | `1` | Minimum consecutive successes for the [probe] to be considered successful after having failed |
|
| applicationSet.livenessProbe.successThreshold | int | `1` | Minimum consecutive successes for the [probe] to be considered successful after having failed |
|
||||||
| applicationSet.livenessProbe.timeoutSeconds | int | `1` | Number of seconds after which the [probe] times out |
|
| applicationSet.livenessProbe.timeoutSeconds | int | `1` | Number of seconds after which the [probe] times out |
|
||||||
| applicationSet.logFormat | string | `""` (defaults to global.logging.format) | ApplicationSet controller log format. Either `text` or `json` |
|
|
||||||
| applicationSet.logLevel | string | `""` (defaults to global.logging.level) | ApplicationSet controller log level. One of: `debug`, `info`, `warn`, `error` |
|
|
||||||
| applicationSet.metrics.enabled | bool | `false` | Deploy metrics service |
|
| applicationSet.metrics.enabled | bool | `false` | Deploy metrics service |
|
||||||
| applicationSet.metrics.service.annotations | object | `{}` | Metrics service annotations |
|
| applicationSet.metrics.service.annotations | object | `{}` | Metrics service annotations |
|
||||||
| applicationSet.metrics.service.labels | object | `{}` | Metrics service labels |
|
| applicationSet.metrics.service.labels | object | `{}` | Metrics service labels |
|
||||||
|
|
|
@ -76,6 +76,18 @@ DEPRECATED option configs.tlsCertsAnnotations - Use configs.tls.annotations
|
||||||
{{- if hasKey .Values.configs "tlsCerts" }}
|
{{- if hasKey .Values.configs "tlsCerts" }}
|
||||||
DEPRECATED option configs.tlsCerts.data - Use configs.tls.certificates
|
DEPRECATED option configs.tlsCerts.data - Use configs.tls.certificates
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.applicationSet.logFormat }}
|
||||||
|
DEPRECATED option applicationSet.logFormat - Use configs.params.applicationsetcontroller.log.format
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.applicationSet.logLevel }}
|
||||||
|
DEPRECATED option applicationSet.logLevel - Use configs.params.applicationsetcontroller.log.level
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.applicationSet.args.policy }}
|
||||||
|
DEPRECATED option applicationSet.args.policy - Use configs.params.applicationsetcontroller.policy
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.applicationSet.args.dryRun }}
|
||||||
|
DEPRECATED option applicationSet.args.dryRun - Use configs.params.applicationsetcontroller.dryRun
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.controller.service }}
|
{{- if .Values.controller.service }}
|
||||||
REMOVED option controller.service - Use controller.metrics
|
REMOVED option controller.service - Use controller.metrics
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -202,10 +202,13 @@ redis.server: {{ . | quote }}
|
||||||
server.dex.server: {{ include "argo-cd.dex.server" . | quote }}
|
server.dex.server: {{ include "argo-cd.dex.server" . | quote }}
|
||||||
server.dex.server.strict.tls: {{ .Values.dex.certificateSecret.enabled | toString }}
|
server.dex.server.strict.tls: {{ .Values.dex.certificateSecret.enabled | toString }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- range $component := tuple "controller" "server" "reposerver" }}
|
{{- range $component := tuple "applicationsetcontroller" "controller" "server" "reposerver" }}
|
||||||
{{ $component }}.log.format: {{ $.Values.global.logging.format | quote }}
|
{{ $component }}.log.format: {{ $.Values.global.logging.format | quote }}
|
||||||
{{ $component }}.log.level: {{ $.Values.global.logging.level | quote }}
|
{{ $component }}.log.level: {{ $.Values.global.logging.level | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.applicationSet.enabled }}
|
||||||
|
applicationsetcontroller.enable.leader.election: {{ gt (.Values.applicationSet.replicaCount | int64) 1 }}
|
||||||
|
{{- end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
|
|
|
@ -54,14 +54,20 @@ spec:
|
||||||
- --metrics-addr=:{{ .Values.applicationSet.containerPorts.metrics }}
|
- --metrics-addr=:{{ .Values.applicationSet.containerPorts.metrics }}
|
||||||
- --probe-addr=:{{ .Values.applicationSet.containerPorts.probe }}
|
- --probe-addr=:{{ .Values.applicationSet.containerPorts.probe }}
|
||||||
- --webhook-addr=:{{ .Values.applicationSet.containerPorts.webhook }}
|
- --webhook-addr=:{{ .Values.applicationSet.containerPorts.webhook }}
|
||||||
- --argocd-repo-server={{ template "argo-cd.repoServer.fullname" . }}:{{ .Values.repoServer.service.port }}
|
{{- with .Values.applicationSet.args.policy }}
|
||||||
- --enable-leader-election={{ gt ( .Values.applicationSet.replicaCount | int64) 1 }}
|
- --policy={{ . }}
|
||||||
- --policy={{ .Values.applicationSet.args.policy }}
|
{{- end }}
|
||||||
- --dry-run={{ .Values.applicationSet.args.dryRun }}
|
{{- with .Values.applicationSet.args.dryRun }}
|
||||||
|
- --dry-run={{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.applicationSet.logFormat }}
|
||||||
- --logformat
|
- --logformat
|
||||||
- {{ default .Values.global.logging.format .Values.applicationSet.logFormat }}
|
- {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.applicationSet.logLevel }}
|
||||||
- --loglevel
|
- --loglevel
|
||||||
- {{ default .Values.global.logging.level .Values.applicationSet.logLevel }}
|
- {{ . }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.applicationSet.extraArgs }}
|
{{- with .Values.applicationSet.extraArgs }}
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -73,6 +79,66 @@ spec:
|
||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: metadata.namespace
|
fieldPath: metadata.namespace
|
||||||
|
- name: ARGOCD_APPLICATIONSET_CONTROLLER_ENABLE_LEADER_ELECTION
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
key: applicationsetcontroller.enable.leader.election
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_APPLICATIONSET_CONTROLLER_NAMESPACE
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
key: applicationsetcontroller.namespace
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_APPLICATIONSET_CONTROLLER_REPO_SERVER
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
key: repo.server
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_APPLICATIONSET_CONTROLLER_POLICY
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
key: applicationsetcontroller.policy
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_APPLICATIONSET_CONTROLLER_DEBUG
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
key: applicationsetcontroller.debug
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_APPLICATIONSET_CONTROLLER_LOGFORMAT
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
key: applicationsetcontroller.log.format
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_APPLICATIONSET_CONTROLLER_LOGLEVEL
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
key: applicationsetcontroller.log.level
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_APPLICATIONSET_CONTROLLER_DRY_RUN
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
key: applicationsetcontroller.dryrun
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_GIT_MODULES_ENABLED
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
key: applicationsetcontroller.enable.git.submodule
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_APPLICATIONSET_CONTROLLER_ENABLE_PROGRESSIVE_SYNCS
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
key: applicationsetcontroller.enable.progressive.rollouts
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
optional: true
|
||||||
{{- with .Values.applicationSet.extraEnvFrom }}
|
{{- with .Values.applicationSet.extraEnvFrom }}
|
||||||
envFrom:
|
envFrom:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
|
|
|
@ -262,6 +262,12 @@ spec:
|
||||||
name: argocd-cmd-params-cm
|
name: argocd-cmd-params-cm
|
||||||
key: application.namespaces
|
key: application.namespaces
|
||||||
optional: true
|
optional: true
|
||||||
|
- name: ARGOCD_SERVER_ENABLE_PROXY_EXTENSION
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: server.enable.proxy.extension
|
||||||
|
optional: true
|
||||||
{{- with .Values.server.envFrom }}
|
{{- with .Values.server.envFrom }}
|
||||||
envFrom:
|
envFrom:
|
||||||
{{- toYaml . | nindent 10 }}
|
{{- toYaml . | nindent 10 }}
|
||||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -205,6 +205,12 @@ configs:
|
||||||
# -- Limit on number of concurrent manifests generate requests. Any value less the 1 means no limit.
|
# -- Limit on number of concurrent manifests generate requests. Any value less the 1 means no limit.
|
||||||
reposerver.parallelism.limit: 0
|
reposerver.parallelism.limit: 0
|
||||||
|
|
||||||
|
## ApplicationSet Properties
|
||||||
|
# -- Modify how application is synced between the generator and the cluster. One of: `sync`, `create-only`, `create-update`, `create-delete`
|
||||||
|
applicationsetcontroller.policy: sync
|
||||||
|
# -- Enables use of the Progressive Syncs capability
|
||||||
|
applicationsetcontroller.enable.progressive.syncs: false
|
||||||
|
|
||||||
# Argo CD RBAC policy configuration
|
# Argo CD RBAC policy configuration
|
||||||
## Ref: https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/rbac.md
|
## Ref: https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/rbac.md
|
||||||
rbac:
|
rbac:
|
||||||
|
@ -2147,18 +2153,14 @@ applicationSet:
|
||||||
# @default -- `[]` (defaults to global.imagePullSecrets)
|
# @default -- `[]` (defaults to global.imagePullSecrets)
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
|
|
||||||
# -- ApplicationSet controller log format. Either `text` or `json`
|
# -- DEPRECATED - ApplicationSet controller command line flags
|
||||||
# @default -- `""` (defaults to global.logging.format)
|
args: {}
|
||||||
logFormat: ""
|
# DEPRECATED - Use configs.params.applicationsetcontroller.policy to override
|
||||||
# -- ApplicationSet controller log level. One of: `debug`, `info`, `warn`, `error`
|
|
||||||
# @default -- `""` (defaults to global.logging.level)
|
|
||||||
logLevel: ""
|
|
||||||
|
|
||||||
args:
|
|
||||||
# -- How application is synced between the generator and the cluster
|
# -- How application is synced between the generator and the cluster
|
||||||
policy: sync
|
# policy: sync
|
||||||
|
# DEPRECATED - Use configs.params.applicationsetcontroller.dryrun to override
|
||||||
# -- Enable dry run mode
|
# -- Enable dry run mode
|
||||||
dryRun: false
|
# dryRun: false
|
||||||
|
|
||||||
# -- List of extra cli args to add
|
# -- List of extra cli args to add
|
||||||
extraArgs: []
|
extraArgs: []
|
||||||
|
|
Loading…
Reference in a new issue