Add K8S deployment above Vagrant
[sdc.git] / sdc-os-chef / kubernetes / sdc / templates / deployments / sdc-es.yaml
index bc6d786..1122c48 100644 (file)
@@ -48,6 +48,8 @@ spec:
           initialDelaySeconds: 60
           timeoutSeconds: 5
           periodSeconds: 5
+      imagePullSecrets:
+      - name: "{{ .Values.nsPrefix }}-docker-registry-key"
       volumes:
       - name: sdc-environments
         configMap:
@@ -58,6 +60,4 @@ spec:
       - name:  sdc-logs
         hostPath:
           path:  /dockerdata-nfs/{{ .Values.nsPrefix }}/sdc/logs
-      imagePullSecrets:
-      - name: "{{ .Values.nsPrefix }}-docker-registry-key"
 #{{ end }}