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 }}
21 - name: {{ include "common.name" . }}
22 image: "{{ include "common.repository" . }}/{{ .Values.image }}"
23 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
27 - containerPort: {{ .Values.service.internalPort }}
28 name: {{ .Values.service.name }}
29 # disable liveness probe when breakpoints set in debugger
30 # so K8s doesn't restart unresponsive container
31 {{- if eq .Values.liveness.enabled true }}
34 port: {{ .Values.service.internalPort }}
35 initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
36 periodSeconds: {{ .Values.liveness.periodSeconds }}
40 port: {{ .Values.service.internalPort }}
41 initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
42 periodSeconds: {{ .Values.readiness.periodSeconds }}
44 # This sets the port that CDT will use to connect to the main appc container.
45 # The 32 is the node port suffix that is used in the main appc oom templates
48 value: "{{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.nodePort3 }}"
50 - mountPath: /etc/localtime
54 {{ toYaml .Values.resources | indent 12 }}
55 {{- if .Values.nodeSelector }}
57 {{ toYaml .Values.nodeSelector | indent 10 }}
59 {{- if .Values.affinity }}
61 {{ toYaml .Values.affinity | indent 10 }}
68 - name: "{{ include "common.namespace" . }}-docker-registry-key"