feat(argo-cd): remove necessary create entry in `argocd-cmd-params-cm` ConfigMap (#2146)

fix(argo-cd): remove necessary `create` entry in `argocd-cmd-params-cm` ConfigMap

Signed-off-by: Atkins Chang <atkinschang@gmail.com>
pull/2145/head^2 argo-cd-5.36.15
Atkins 2023-07-04 17:22:19 +08:00 committed by GitHub
parent b9f610e319
commit 5c4506b481
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ appVersion: v2.7.6
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.36.14
version: 5.36.15
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: fixed
description: Update argo-cd.strategy template
description: Remove necessary `create` entry in `argocd-cmd-params-cm` ConfigMap

View File

@ -207,7 +207,7 @@ applicationsetcontroller.enable.leader.election: {{ gt (.Values.applicationSet.r
Merge Argo Params Configuration with Preset Configuration
*/}}
{{- define "argo-cd.config.params" -}}
{{- $config := omit .Values.configs.params "annotations" }}
{{- $config := omit .Values.configs.params "create" "annotations" }}
{{- $preset := include "argo-cd.config.params.presets" . | fromYaml | default dict -}}
{{- range $key, $value := mergeOverwrite $preset $config }}
{{ $key }}: {{ toString $value | toYaml }}