Always mount argocd-tls-certs-cm in server and repo-server (#1098)

If the ConfigMap is not mounted Argo will not be able
to use any certificates added in the CLI or the UI.

Signed-off-by: Otto Nordander otto.nordander@gmail.com

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
main argo-cd-3.34.0
Otto Nordander 2022-03-01 18:35:07 +01:00 committed by GitHub
parent 62b5450f17
commit cbdcd902d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 10 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v2.2.5
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd
version: 3.33.8
version: 3.34.0
home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
keywords:
@ -21,4 +21,4 @@ dependencies:
condition: redis-ha.enabled
annotations:
artifacthub.io/changes: |
- "[Fixed]: Added repo-server copyutil securityContext"
- "[Changed]: Always mount argocd-tls-certs-cm in server and repo-server"

View File

@ -85,10 +85,8 @@ spec:
- mountPath: /app/config/ssh
name: ssh-known-hosts
{{- end }}
{{- if .Values.configs.tlsCerts }}
- mountPath: /app/config/tls
name: tls-certs
{{- end }}
- mountPath: /app/config/reposerver/tls
name: argocd-repo-server-tls
- mountPath: /tmp
@ -169,11 +167,9 @@ spec:
name: argocd-ssh-known-hosts-cm
name: ssh-known-hosts
{{- end }}
{{- if .Values.configs.tlsCerts }}
- configMap:
name: argocd-tls-certs-cm
name: tls-certs
{{- end }}
- name: helm-working-dir
emptyDir: {}
- name: argocd-repo-server-tls

View File

@ -85,10 +85,8 @@ spec:
- mountPath: /app/config/ssh
name: ssh-known-hosts
{{- end }}
{{- if .Values.configs.tlsCerts }}
- mountPath: /app/config/tls
name: tls-certs
{{- end }}
- mountPath: /app/config/server/tls
name: argocd-repo-server-tls
{{- if .Values.configs.styles }}
@ -204,11 +202,9 @@ spec:
name: argocd-ssh-known-hosts-cm
name: ssh-known-hosts
{{- end }}
{{- if .Values.configs.tlsCerts }}
- configMap:
name: argocd-tls-certs-cm
name: tls-certs
{{- end }}
- name: argocd-repo-server-tls
secret:
items: