2025-01-14 02:17:29 -08:00
|
|
|
{{- if .Values.configs.tls.create }}
|
2019-11-04 16:17:25 -08:00
|
|
|
apiVersion: v1
|
|
|
|
|
kind: ConfigMap
|
|
|
|
|
metadata:
|
2022-09-21 09:32:06 +02:00
|
|
|
name: argocd-tls-certs-cm
|
2024-05-14 17:17:31 +02:00
|
|
|
namespace: {{ include "argo-cd.namespace" . }}
|
2019-11-04 16:17:25 -08:00
|
|
|
labels:
|
2023-01-21 10:24:46 +01:00
|
|
|
{{- include "argo-cd.labels" (dict "context" . "name" "tls-certs-cm") | nindent 4 }}
|
2024-02-07 22:40:05 +01:00
|
|
|
{{- with .Values.configs.tls.annotations }}
|
2020-07-12 16:56:48 +02:00
|
|
|
annotations:
|
2022-09-21 09:32:06 +02:00
|
|
|
{{- range $key, $value := . }}
|
2020-07-12 16:56:48 +02:00
|
|
|
{{ $key }}: {{ $value | quote }}
|
2022-09-21 09:32:06 +02:00
|
|
|
{{- end }}
|
2020-07-12 16:56:48 +02:00
|
|
|
{{- end }}
|
2023-01-21 10:24:46 +01:00
|
|
|
{{- with .Values.configs.tls.certificates }}
|
|
|
|
|
data:
|
|
|
|
|
{{- toYaml . | nindent 2 }}
|
|
|
|
|
{{- end }}
|
2025-01-14 02:17:29 -08:00
|
|
|
{{- end }}
|