feat(argo-cd): Upgrade Argo CD to 2.8.0 (#2170)

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
This commit is contained in:
Petr Drastil 2023-08-08 16:35:41 +02:00 committed by GitHub
parent 4eae23b580
commit 3e35b0c7f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 2264 additions and 25 deletions

View file

@ -1,9 +1,9 @@
apiVersion: v2
appVersion: v2.7.11
appVersion: v2.8.0
kubeVersion: ">=1.23.0-0"
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd
version: 5.42.3
version: 5.43.0
home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
sources:
@ -27,4 +27,4 @@ annotations:
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: |
- kind: changed
description: Upgrade Argo CD to v2.7.11
description: Upgrade Argo CD to 2.8.0

View file

@ -461,7 +461,7 @@ NAME: my-release
| configs.params."reposerver.parallelism.limit" | int | `0` | Limit on number of concurrent manifests generate requests. Any value less the 1 means no limit. |
| configs.params."server.basehref" | string | `"/"` | Value for base href in index.html. Used if Argo CD is running behind reverse proxy under subpath different from / |
| configs.params."server.disable.auth" | bool | `false` | Disable Argo CD RBAC for user authentication |
| configs.params."server.enable.gzip" | bool | `false` | Enable GZIP compression |
| configs.params."server.enable.gzip" | bool | `true` | Enable GZIP compression |
| configs.params."server.insecure" | bool | `false` | Run server without TLS |
| configs.params."server.rootpath" | string | `""` | Used if Argo CD is running behind reverse proxy under subpath different from / |
| configs.params."server.staticassets" | string | `"/shared/app"` | Directory path that contains additional static assets |

View file

@ -236,6 +236,18 @@ spec:
name: argocd-cmd-params-cm
key: application.namespaces
optional: true
- name: ARGOCD_CONTROLLER_SHARDING_ALGORITHM
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.sharding.algorithm
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_KUBECTL_PARALLELISM_LIMIT
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.kubectl.parallelism.limit
optional: true
{{- with .Values.controller.envFrom }}
envFrom:
{{- toYaml . | nindent 10 }}

View file

@ -93,12 +93,6 @@ spec:
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:
@ -111,6 +105,12 @@ spec:
key: applicationsetcontroller.policy
name: argocd-cmd-params-cm
optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_ENABLE_POLICY_OVERRIDE
valueFrom:
configMapKeyRef:
key: applicationsetcontroller.enable.policy.override
name: argocd-cmd-params-cm
optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_DEBUG
valueFrom:
configMapKeyRef:
@ -147,6 +147,54 @@ spec:
key: applicationsetcontroller.enable.progressive.syncs
name: argocd-cmd-params-cm
optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_ENABLE_NEW_GIT_FILE_GLOBBING
valueFrom:
configMapKeyRef:
key: applicationsetcontroller.enable.new.git.file.globbing
name: argocd-cmd-params-cm
optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_REPO_SERVER_PLAINTEXT
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: applicationsetcontroller.repo.server.plaintext
optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_REPO_SERVER_STRICT_TLS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: applicationsetcontroller.repo.server.strict.tls
optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_REPO_SERVER_TIMEOUT_SECONDS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: applicationsetcontroller.repo.server.timeout.seconds
optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_CONCURRENT_RECONCILIATIONS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: applicationsetcontroller.concurrent.reconciliations.max
optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_NAMESPACES
valueFrom:
configMapKeyRef:
key: applicationsetcontroller.namespaces
name: argocd-cmd-params-cm
optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_SCM_ROOT_CA_PATH
valueFrom:
configMapKeyRef:
key: applicationsetcontroller.scm.root.ca.path
name: argocd-cmd-params-cm
optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_ALLOWED_SCM_PROVIDERS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: applicationsetcontroller.allowed.scm.providers
optional: true
{{- with .Values.applicationSet.extraEnvFrom }}
envFrom:
{{- toYaml . | nindent 12 }}
@ -199,6 +247,8 @@ spec:
name: gpg-keys
- mountPath: /app/config/gpg/keys
name: gpg-keyring
- mountPath: /app/config/reposerver/tls
name: argocd-repo-server-tls
- mountPath: /tmp
name: tmp
{{- with .Values.applicationSet.extraContainers }}
@ -248,6 +298,17 @@ spec:
emptyDir: {}
- name: tmp
emptyDir: {}
- name: argocd-repo-server-tls
secret:
secretName: argocd-repo-server-tls
optional: true
items:
- key: tls.crt
path: tls.crt
- key: tls.key
path: tls.key
- key: ca.crt
path: ca.crt
{{- with .Values.applicationSet.dnsConfig }}
dnsConfig:
{{- toYaml . | nindent 8 }}

View file

@ -108,6 +108,18 @@ spec:
name: argocd-cmd-params-cm
key: reposerver.parallelism.limit
optional: true
- name: ARGOCD_REPO_SERVER_LISTEN_ADDRESS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: reposerver.listen.address
optional: true
- name: ARGOCD_REPO_SERVER_LISTEN_METRICS_ADDRESS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: reposerver.metrics.listen.address
optional: true
- name: ARGOCD_REPO_SERVER_DISABLE_TLS
valueFrom:
configMapKeyRef:

View file

@ -263,6 +263,18 @@ spec:
name: argocd-cmd-params-cm
key: server.http.cookie.maxnumber
optional: true
- name: ARGOCD_SERVER_LISTEN_ADDRESS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: server.listen.address
optional: true
- name: ARGOCD_SERVER_METRICS_LISTEN_ADDRESS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: server.metrics.listen.address
optional: true
- name: ARGOCD_SERVER_OTLP_ADDRESS
valueFrom:
configMapKeyRef:

View file

@ -297,8 +297,15 @@ spec:
type: array
values:
description: Values specifies Helm values to be passed
to helm template, typically defined as a block
to helm template, typically defined as a block. ValuesObject
takes precedence over Values, so use one or the other.
type: string
valuesObject:
description: ValuesObject specifies Helm values to be
passed to helm template, defined as a map. This takes
precedence over Values.
type: object
x-kubernetes-preserve-unknown-fields: true
version:
description: Version is the Helm version to use for templating
("3")
@ -586,8 +593,15 @@ spec:
type: array
values:
description: Values specifies Helm values to be passed
to helm template, typically defined as a block
to helm template, typically defined as a block. ValuesObject
takes precedence over Values, so use one or the other.
type: string
valuesObject:
description: ValuesObject specifies Helm values to be
passed to helm template, defined as a map. This takes
precedence over Values.
type: object
x-kubernetes-preserve-unknown-fields: true
version:
description: Version is the Helm version to use for
templating ("3")
@ -992,8 +1006,15 @@ spec:
type: array
values:
description: Values specifies Helm values to be passed to
helm template, typically defined as a block
helm template, typically defined as a block. ValuesObject
takes precedence over Values, so use one or the other.
type: string
valuesObject:
description: ValuesObject specifies Helm values to be passed
to helm template, defined as a map. This takes precedence
over Values.
type: object
x-kubernetes-preserve-unknown-fields: true
version:
description: Version is the Helm version to use for templating
("3")
@ -1272,8 +1293,15 @@ spec:
type: array
values:
description: Values specifies Helm values to be passed to
helm template, typically defined as a block
helm template, typically defined as a block. ValuesObject
takes precedence over Values, so use one or the other.
type: string
valuesObject:
description: ValuesObject specifies Helm values to be passed
to helm template, defined as a map. This takes precedence
over Values.
type: object
x-kubernetes-preserve-unknown-fields: true
version:
description: Version is the Helm version to use for templating
("3")
@ -1438,7 +1466,7 @@ spec:
as part of automated sync (default: false)'
type: boolean
selfHeal:
description: 'SelfHeal specifes whether to revert resources
description: 'SelfHeal specifies whether to revert resources
back to their desired state upon modification in the cluster
(default: false)'
type: boolean
@ -1502,7 +1530,7 @@ spec:
conditions
items:
description: ApplicationCondition contains details about an application
condition, which is usally an error or warning
condition, which is usually an error or warning
properties:
lastTransitionTime:
description: LastTransitionTime is the time the condition was
@ -1521,6 +1549,10 @@ spec:
- type
type: object
type: array
controllerNamespace:
description: ControllerNamespace indicates the namespace in which
the application controller is located
type: string
health:
description: Health contains information about the application's current
health status
@ -1700,8 +1732,15 @@ spec:
type: array
values:
description: Values specifies Helm values to be passed
to helm template, typically defined as a block
to helm template, typically defined as a block. ValuesObject
takes precedence over Values, so use one or the other.
type: string
valuesObject:
description: ValuesObject specifies Helm values to be
passed to helm template, defined as a map. This takes
precedence over Values.
type: object
x-kubernetes-preserve-unknown-fields: true
version:
description: Version is the Helm version to use for
templating ("3")
@ -1993,8 +2032,16 @@ spec:
type: array
values:
description: Values specifies Helm values to be passed
to helm template, typically defined as a block
to helm template, typically defined as a block.
ValuesObject takes precedence over Values, so use
one or the other.
type: string
valuesObject:
description: ValuesObject specifies Helm values to
be passed to helm template, defined as a map. This
takes precedence over Values.
type: object
x-kubernetes-preserve-unknown-fields: true
version:
description: Version is the Helm version to use for
templating ("3")
@ -2431,8 +2478,15 @@ spec:
values:
description: Values specifies Helm values to be
passed to helm template, typically defined as
a block
a block. ValuesObject takes precedence over
Values, so use one or the other.
type: string
valuesObject:
description: ValuesObject specifies Helm values
to be passed to helm template, defined as a
map. This takes precedence over Values.
type: object
x-kubernetes-preserve-unknown-fields: true
version:
description: Version is the Helm version to use
for templating ("3")
@ -2740,8 +2794,15 @@ spec:
values:
description: Values specifies Helm values to
be passed to helm template, typically defined
as a block
as a block. ValuesObject takes precedence
over Values, so use one or the other.
type: string
valuesObject:
description: ValuesObject specifies Helm values
to be passed to helm template, defined as
a map. This takes precedence over Values.
type: object
x-kubernetes-preserve-unknown-fields: true
version:
description: Version is the Helm version to
use for templating ("3")
@ -2951,6 +3012,19 @@ spec:
syncResult:
description: SyncResult is the result of a Sync operation
properties:
managedNamespaceMetadata:
description: ManagedNamespaceMetadata contains the current
sync state of managed namespace metadata
properties:
annotations:
additionalProperties:
type: string
type: object
labels:
additionalProperties:
type: string
type: object
type: object
resources:
description: Resources contains a list of sync result items
for each individual resource in a sync operation
@ -3153,8 +3227,16 @@ spec:
type: array
values:
description: Values specifies Helm values to be passed
to helm template, typically defined as a block
to helm template, typically defined as a block.
ValuesObject takes precedence over Values, so use
one or the other.
type: string
valuesObject:
description: ValuesObject specifies Helm values to
be passed to helm template, defined as a map. This
takes precedence over Values.
type: object
x-kubernetes-preserve-unknown-fields: true
version:
description: Version is the Helm version to use for
templating ("3")
@ -3457,8 +3539,15 @@ spec:
values:
description: Values specifies Helm values to be
passed to helm template, typically defined as
a block
a block. ValuesObject takes precedence over Values,
so use one or the other.
type: string
valuesObject:
description: ValuesObject specifies Helm values
to be passed to helm template, defined as a map.
This takes precedence over Values.
type: object
x-kubernetes-preserve-unknown-fields: true
version:
description: Version is the Helm version to use
for templating ("3")
@ -3728,6 +3817,42 @@ spec:
and must be set to the Kubernetes control plane API
type: string
type: object
ignoreDifferences:
description: IgnoreDifferences is a reference to the application's
ignored differences used for comparison
items:
description: ResourceIgnoreDifferences contains resource
filter and list of json paths which should be ignored
during comparison with live state.
properties:
group:
type: string
jqPathExpressions:
items:
type: string
type: array
jsonPointers:
items:
type: string
type: array
kind:
type: string
managedFieldsManagers:
description: ManagedFieldsManagers is a list of trusted
managers. Fields mutated by those managers will take
precedence over the desired state defined in the SCM
and won't be displayed in diffs
items:
type: string
type: array
name:
type: string
namespace:
type: string
required:
- kind
type: object
type: array
source:
description: Source is a reference to the application's source
used for comparison
@ -3866,8 +3991,16 @@ spec:
type: array
values:
description: Values specifies Helm values to be passed
to helm template, typically defined as a block
to helm template, typically defined as a block.
ValuesObject takes precedence over Values, so use
one or the other.
type: string
valuesObject:
description: ValuesObject specifies Helm values to
be passed to helm template, defined as a map. This
takes precedence over Values.
type: object
x-kubernetes-preserve-unknown-fields: true
version:
description: Version is the Helm version to use for
templating ("3")
@ -4170,8 +4303,15 @@ spec:
values:
description: Values specifies Helm values to be
passed to helm template, typically defined as
a block
a block. ValuesObject takes precedence over Values,
so use one or the other.
type: string
valuesObject:
description: ValuesObject specifies Helm values
to be passed to helm template, defined as a map.
This takes precedence over Values.
type: object
x-kubernetes-preserve-unknown-fields: true
version:
description: Version is the Helm version to use
for templating ("3")

File diff suppressed because it is too large Load diff

View file

@ -253,7 +253,7 @@ configs:
# -- Disable Argo CD RBAC for user authentication
server.disable.auth: false
# -- Enable GZIP compression
server.enable.gzip: false
server.enable.gzip: true
# -- Set X-Frame-Options header in HTTP responses to value. To disable, set to "".
server.x.frame.options: sameorigin