adding conditional for argocd-tls-certs-cm.yaml to be created by Helm

Signed-off-by: nhershman <nhersh95@gmail.com>
This commit is contained in:
Nicole Hershman 2025-01-13 13:25:47 -08:00 committed by nhershman
parent 231fe4e38a
commit f23ecf82e0
4 changed files with 7 additions and 1 deletions

View file

@ -3,7 +3,7 @@ appVersion: v2.13.3
kubeVersion: ">=1.25.0-0"
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd
version: 7.7.15
version: 7.7.16
home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
sources:

View file

@ -789,6 +789,7 @@ NAME: my-release
| configs.styles | string | `""` (See [values.yaml]) | Define custom [CSS styles] for your argo instance. This setting will automatically mount the provided CSS and reference it in the argo configuration. |
| configs.tls.annotations | object | `{}` | Annotations to be added to argocd-tls-certs-cm configmap |
| configs.tls.certificates | object | `{}` (See [values.yaml]) | TLS certificates for Git repositories |
| configs.tls.create | bool | `true` | Specifies if the argocd-tls-certs-cm configmap should be created by Helm. |
## Argo CD Controller

View file

@ -1,3 +1,4 @@
{{- if .Values.configs.tls.create }}
apiVersion: v1
kind: ConfigMap
metadata:
@ -15,3 +16,4 @@ metadata:
data:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end }}

View file

@ -412,6 +412,9 @@ configs:
# ...
# -----END CERTIFICATE-----
# -- Specifies if the argocd-tls-certs-cm configmap should be created by Helm.
create: true
# ConfigMap for Config Management Plugins
# Ref: https://argo-cd.readthedocs.io/en/stable/operator-manual/config-management-plugins/
cmp: