argocd-helm/charts/argo-cd/templates/argocd-configs/argocd-ssh-known-hosts-cm.yaml
TomHellier 33c4adfbb6 Issue #147, k8s label part-of expected to be argocd (#151)
The argocd application expects that the label 'app.kubernetes.io/part-of' is set to 'argocd' otherwise the configmap or secret is rejected, and the argocd-dex-server, argocd-server, and argocd-application-controller fail to start.
2019-11-06 09:47:56 +11:00

12 lines
No EOL
472 B
YAML

apiVersion: v1
{{- toYaml .Values.configs.knownHosts | nindent 0 }}
kind: ConfigMap
metadata:
labels:
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-ssh-known-hosts-cm
helm.sh/chart: {{ include "argo-cd.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/part-of: argocd
app.kubernetes.io/component: {{ .Values.server.name }}
name: argocd-ssh-known-hosts-cm