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}}"
9 release: {{ .Release.Name }}
11 # This is what defines this resource as a hook. Without this line, the
12 # job is considered part of the release.
13 "helm.sh/hook": post-install
14 "helm.sh/hook-weight": "-4"
15 "helm.sh/hook-delete-policy": hook-succeeded
19 name: {{ include "common.fullname" . }}
21 app.kubernetes.io/managed-by: {{.Release.Service | quote }}
22 app.kubernetes.io/instance: {{.Release.Name | quote }}
23 helm.sh/chart: "{{.Chart.Name}}-{{.Chart.Version}}"
24 release: {{ .Release.Name }}
28 - name: post-install-job
29 image: "{{ include "common.repository" . }}/{{ .Values.global.clientImage }}"
30 imagePullPolicy: "Always"
34 {{- if .Values.global.allow_http }}
41 value: "{{.Chart.Name}}-post-install"
43 - mountPath: /etc/localtime
47 # NOTE: on the following several configMaps, careful to include / at end
48 # since there may be more than one file in each mountPath
49 # NOTE: the basename of the subdirectory of mountPath is important - it matches the DBCL API URI
50 - name: {{ include "common.fullname" . }}-dbc-mrclusters
51 mountPath: /opt/app/config/mr_clusters/
52 - name: {{ include "common.fullname" . }}-dbc-topics
53 mountPath: /opt/app/config/topics/
55 {{ include "common.resources" . | indent 10 }}
56 {{- if .Values.nodeSelector }}
58 {{ toYaml .Values.nodeSelector | indent 8 }}
60 {{- if .Values.affinity }}
62 {{ toYaml .Values.affinity | indent 8 }}
68 - name: {{ include "common.fullname" . }}-dbc-mrclusters
70 name: {{ include "common.fullname" . }}-dbc-mrclusters
71 - name: {{ include "common.fullname" . }}-dbc-topics
73 name: {{ include "common.fullname" . }}-dbc-topics
75 - name: "{{ include "common.namespace" . }}-docker-registry-key"