blob: 992ed87e11515cdf16f33deee0e64ef8f4b54f74 (
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 }}
|