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": "-4"
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}}"
26 - name: post-install-job
27 image: "{{ include "common.repository" . }}/{{ .Values.global.clientImage }}"
28 imagePullPolicy: "Always"
37 value: "{{.Chart.Name}}-post-install"
39 - mountPath: /etc/localtime
43 # NOTE: on the following several configMaps, careful to include / at end
44 # since there may be more than one file in each mountPath
45 # NOTE: the basename of the subdirectory of mountPath is important - it matches the DBCL API URI
46 - name: {{ include "common.fullname" . }}-dbc-mrclusters
47 mountPath: /opt/app/config/mr_clusters/
48 - name: {{ include "common.fullname" . }}-dbc-topics
49 mountPath: /opt/app/config/topics/
51 {{ include "common.resources" . | indent 10 }}
52 {{- if .Values.nodeSelector }}
54 {{ toYaml .Values.nodeSelector | indent 8 }}
56 {{- if .Values.affinity }}
58 {{ toYaml .Values.affinity | indent 8 }}
64 - name: {{ include "common.fullname" . }}-dbc-mrclusters
66 name: {{ include "common.fullname" . }}-dbc-mrclusters
67 - name: {{ include "common.fullname" . }}-dbc-topics
69 name: {{ include "common.fullname" . }}-dbc-topics
71 - name: "{{ include "common.namespace" . }}-docker-registry-key"