4 name: {{ include "common.fullname" . }}-post-install
6 app.kubernetes.io/managed-by: {{.Release.Service | quote }}
7 app.kubernetes.io/instance: {{.Release.Name | quote }}
8 helm.sh/chart: "{{.Chart.Name}}-{{.Chart.Version}}"
10 # This is what defines this resource as a hook. Without this line, the
11 # job is considered part of the release.
12 "helm.sh/hook": post-install
13 "helm.sh/hook-weight": "-5"
14 "helm.sh/hook-delete-policy": hook-succeeded
18 name: {{ include "common.fullname" . }}
20 app.kubernetes.io/managed-by: {{.Release.Service | quote }}
21 app.kubernetes.io/instance: {{.Release.Name | quote }}
22 helm.sh/chart: "{{.Chart.Name}}-{{.Chart.Version}}"
27 - name: post-install-job
28 image: "{{ include "common.repository" . }}/{{ .Values.global.clientImage }}"
33 value: "{{.Chart.Name}}-post-install"
35 - mountPath: /etc/localtime
39 # NOTE: on the following several configMaps, careful to include / at end
40 # since there may be more than one file in each mountPath
41 # NOTE: the basename of the subdirectory of mountPath is important - it matches the DBCL API URI
42 - name: {{ include "common.fullname" . }}-dbc-dmaap
43 mountPath: /opt/app/config/dmaap/
44 - name: {{ include "common.fullname" . }}-dbc-dcaelocations
45 mountPath: /opt/app/config/dcaeLocations/
47 {{ include "common.resources" . | indent 10 }}
48 {{- if .Values.nodeSelector }}
50 {{ toYaml .Values.nodeSelector | indent 8 }}
52 {{- if .Values.affinity }}
54 {{ toYaml .Values.affinity | indent 8 }}
60 - name: {{ include "common.fullname" . }}-dbc-dmaap
62 name: {{ include "common.fullname" . }}-dbc-dmaap
63 - name: {{ include "common.fullname" . }}-dbc-dcaelocations
65 name: {{ include "common.fullname" . }}-dbc-dcaelocations
67 - name: "{{ include "common.namespace" . }}-docker-registry-key"