diff options
Diffstat (limited to 'vnfs/DAaaS/applications/sample-horovod-app/templates/job.yaml')
-rw-r--r-- | vnfs/DAaaS/applications/sample-horovod-app/templates/job.yaml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vnfs/DAaaS/applications/sample-horovod-app/templates/job.yaml b/vnfs/DAaaS/applications/sample-horovod-app/templates/job.yaml index 4e59b277..da42ded8 100644 --- a/vnfs/DAaaS/applications/sample-horovod-app/templates/job.yaml +++ b/vnfs/DAaaS/applications/sample-horovod-app/templates/job.yaml @@ -70,6 +70,20 @@ spec: value: "{{ $value }}" {{- end }} {{- end }} + - name: AWS_ACCESS_KEY_ID + valueFrom: + secretKeyRef: + name: {{ if .Values.minio.existingSecret }}{{ .Values.minio.existingSecret }}{{ else }}{{ template "horovod.fullname" . }}-minio{{ end }} + key: accesskey + - name: AWS_SECRET_ACCESS_KEY + valueFrom: + secretKeyRef: + name: {{ if .Values.minio.existingSecret }}{{ .Values.minio.existingSecret }}{{ else }}{{ template "horovod.fullname" . }}-minio{{ end }} + key: secretkey + {{- range $key, $val := .Values.minio.environment }} + - name: {{ $key }} + value: {{ $val | quote }} + {{- end}} {{- if .Values.master.privileged }} securityContext: privileged: true |