aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/applications/sample-horovod-app/templates/secrets.yaml
blob: c9853ed0c9a65671d1a9ca93bb3c4b7aea856db7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{{- if .Values.ssh.useSecrets }}
apiVersion: v1
kind: Secret
metadata:
  name: {{ template "horovod.fullname" . }}
  labels:
    app: {{ template "horovod.name" . }}
    chart: {{ template "horovod.chart" . }}
    release: {{ .Release.Name }}
    heritage: {{ .Release.Service }}
type: Opaque
data:
  host-key: {{ .Values.ssh.hostKey | b64enc | quote }}
  host-key-pub: {{ .Values.ssh.hostKeyPub | b64enc | quote }}
{{- end }}