1 apiVersion: extensions/v1beta1
4 name: {{ include "common.fullname" . }}
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.replicaCount }}
16 app: {{ include "common.name" . }}
17 release: {{ .Release.Name }}
19 sidecar.istio.io/inject: "{{.Values.istioSidecar}}"
21 serviceAccountName: msb
33 fieldPath: metadata.namespace
34 image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}"
35 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
36 name: {{ include "common.name" . }}-readiness
38 - name: {{ include "common.name" . }}
39 image: "{{ include "common.repository" . }}/{{ .Values.image }}"
40 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
42 - containerPort: {{ .Values.service.internalPort }}
43 # disable liveness probe when breakpoints set in debugger
44 # so K8s doesn't restart unresponsive container
45 {{- if eq .Values.liveness.enabled true }}
48 port: {{ .Values.service.internalPort }}
49 initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
50 periodSeconds: {{ .Values.liveness.periodSeconds }}
54 port: {{ .Values.service.internalPort }}
55 initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
56 periodSeconds: {{ .Values.readiness.periodSeconds }}
59 value: msb-consul.{{ include "common.namespace" . }}
61 - mountPath: /etc/localtime
64 - mountPath: /usr/local/discover-works/logs
65 name: msb-discovery-logs
67 {{ toYaml .Values.resources | indent 12 }}
68 {{- if .Values.nodeSelector }}
70 {{ toYaml .Values.nodeSelector | indent 10 }}
72 {{- if .Values.affinity }}
74 {{ toYaml .Values.affinity | indent 10 }}
79 image: "{{ .Values.global.loggingRepository }}/{{ .Values.global.loggingImage }}"
80 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
82 - mountPath: /var/log/onap
83 name: msb-discovery-logs
84 - mountPath: /usr/share/filebeat/data
85 name: msb-discovery-filebeat
90 - name: msb-discovery-logs
92 - name: msb-discovery-filebeat
95 - name: "{{ include "common.namespace" . }}-docker-registry-key"