Files
charts/bitnami/argo-cd/templates/known-hosts-cm.yaml
T
Miguel Ángel Cabrera MiñagorriandGitHub 87c43a2aa6 [bitnami/argo-cd] Add new Argo CD Helm Chart (#6770)
* Add Argo CD server

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Add Argo CD application controller

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Add Argo CD repo server component

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Add Dex component

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Fix linter errors

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Change staticasset paths and remove https port from server

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Add README.md and NOTES.txt

* Skip the admin password change by creating it automatically

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Remove unneeded comments

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Wait for redis to avoid tokens sync errors

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Add Dex validations and instructions

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Add readme generator metadata

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Fix linter errors

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Address sugestions

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Add Redis image section to the values.yaml file

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Use empty default dex.config

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Add trailing space

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Delete additional applications

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Add http prefix to metrics ports

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Remove additionalProjects and add selfSigned to ingress values

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Execute readme-generator again

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Remove option to deploy as statefulset

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Use xxx.containerPorts instead of xxx.ports

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Do not edit files from other charts

* Fix wrong template name

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Add validation and render server configuration from string

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* conver to warning the config validation

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>
2021-07-15 10:34:53 +02:00

25 lines
1.2 KiB
YAML

{{- if .Values.config.createExtraKnownHosts }}
apiVersion: v1
kind: ConfigMap
metadata:
# Mandatory hardcoded name.
# Ref: https://argoproj.github.io/argo-cd/operator-manual/declarative-setup/#ssh-known-host-public-keys
name: argocd-ssh-known-hosts-cm
namespace: {{ .Release.Namespace | quote }}
labels: {{- include "common.labels.standard" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
# Mandatory label
# Ref: https://argoproj.github.io/argo-cd/operator-manual/declarative-setup/#atomic-configuration
app.kubernetes.io/part-of: argocd
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
data:
ssh_known_hosts: |
{{- include "common.tplvalues.render" (dict "value" .Values.config.knownHosts "context" $) | nindent 4 }}
{{- if .Values.config.extraKnownHosts }}
{{- include "common.tplvalues.render" (dict "value" .Values.config.extraKnownHosts "context" $) | nindent 4 }}
{{- end }}
{{- end }}