From 9d98267fe7046c304a71f98e89de6774d09f094e Mon Sep 17 00:00:00 2001 From: Rajamohan Raj Date: Thu, 11 Apr 2019 00:36:20 +0000 Subject: Add helm charts for horovod based app Tasks in this patch: Create sample Tensorflow MNIST application using horovod: https://jira.onap.org/browse/ONAPARC-450 Change-Id: I50827a47f7c48574944cde28fca32f265b649b59 Issue-ID: ONAPARC-450 Signed-off-by: Rajamohan Raj --- .../charts/sample-horovod-app/templates/secrets.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 vnfs/DAaaS/applications/charts/sample-horovod-app/templates/secrets.yaml (limited to 'vnfs/DAaaS/applications/charts/sample-horovod-app/templates/secrets.yaml') diff --git a/vnfs/DAaaS/applications/charts/sample-horovod-app/templates/secrets.yaml b/vnfs/DAaaS/applications/charts/sample-horovod-app/templates/secrets.yaml new file mode 100644 index 00000000..c9853ed0 --- /dev/null +++ b/vnfs/DAaaS/applications/charts/sample-horovod-app/templates/secrets.yaml @@ -0,0 +1,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 }} \ No newline at end of file -- cgit 1.2.3-korg