+#{{ if not .Values.disableRobotRobot }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
imagePullPolicy: {{ .Values.pullPolicy }}
name: robot
volumeMounts:
+ - name: localtime
+ mountPath: /etc/localtime
+ readOnly: true
- name: robot-eteshare
mountPath: /share
- name: robot-resources-asdc-interface
initialDelaySeconds: 5
periodSeconds: 10
volumes:
+ - name: localtime
+ hostPath:
+ path: /etc/localtime
- name: robot-eteshare
hostPath:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/eteshare
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/authorization
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file