1 apiVersion: extensions/v1beta1
4 name: {{ include "common.name" . }}
5 namespace: {{ include "common.namespace" . }}
7 app: {{ include "common.name" . }}
8 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
9 release: {{ .Release.Name }}
10 heritage: {{ .Release.Service }}
12 replicas: {{ .Values.robotReplicas }}
16 app: {{ include "common.name" . }}
17 release: {{ .Release.Name }}
20 - name: {{ .Chart.Name }}
21 image: "{{ .Values.global.repository | default .Values.repository }}/{{ .Values.image }}"
22 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
24 - containerPort: {{ .Values.service.internalPort }}
25 # disable liveness probe when breakpoints set in debugger
26 # so K8s doesn't restart unresponsive container
27 {{- if eq .Values.liveness.enabled true }}
30 port: {{ .Values.service.internalPort }}
31 initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
32 periodSeconds: {{ .Values.liveness.periodSeconds }}
36 port: {{ .Values.service.internalPort }}
37 initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
38 periodSeconds: {{ .Values.readiness.periodSeconds }}
41 mountPath: /etc/localtime
43 - name: robot-eteshare
44 mountPath: /share/config
45 - name: robot-resources
46 mountPath: /var/opt/OpenECOMP_ETE/robot/resources/asdc_interface.robot
47 subPath: asdc_interface.robot
48 - name: robot-resources
49 mountPath: /var/opt/OpenECOMP_ETE/robot/resources/policy_interface.robot
50 subPath: policy_interface.robot
51 - name: robot-resources
52 mountPath: /var/opt/OpenECOMP_ETE/robot/resources/sdngc_interface.robot
53 subPath: sdngc_interface.robot
54 - name: robot-lighttpd-authorization
55 mountPath: /etc/lighttpd/authorization
56 subPath: authorization
58 {{ toYaml .Values.resources | indent 12 }}
59 {{- if .Values.nodeSelector }}
61 {{ toYaml .Values.nodeSelector | indent 10 }}
63 {{- if .Values.affinity }}
65 {{ toYaml .Values.affinity | indent 10 }}
71 - name: robot-eteshare
73 name: {{ include "common.name" . }}-eteshare-configmap
75 - name: robot-resources
77 name: {{ include "common.name" . }}-resources-configmap
78 - name: robot-lighttpd-authorization
80 name: {{ include "common.name" . }}-lighttpd-authorization-configmap
82 - name: "{{ include "common.namespace" . }}-docker-registry-key"