3 metadata: {{ include "common.resourceMetadata" (dict "dot" . "suffix" "post-install" "annotations" .Values.job.annotations) | nindent 2 }}
6 metadata: {{- include "common.templateMetadata" . | nindent 6 }}
10 - name: post-install-job
11 image: "{{ include "common.repository" . }}/{{ .Values.global.clientImage }}"
12 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
16 {{- if .Values.global.allow_http }}
23 value: "{{.Chart.Name}}-post-install"
26 - mountPath: /etc/localtime
30 # NOTE: on the following several configMaps, careful to include / at end
31 # since there may be more than one file in each mountPath
32 # NOTE: the basename of the subdirectory is important - it matches the DBCL API URI
33 - name: {{ include "common.fullname" . }}-dbc-drnodes
34 mountPath: /opt/app/config/dr_nodes/
35 resources: {{ include "common.resources" . | nindent 10 }}
36 {{- if .Values.nodeSelector }}
37 nodeSelector: {{ toYaml .Values.nodeSelector | nindent 8 }}
39 {{- if .Values.affinity }}
40 affinity: {{ toYaml .Values.affinity | nindent 8 }}
46 - name: {{ include "common.fullname" . }}-dbc-drnodes
48 name: {{ include "common.fullname" . }}-dbc-drnodes
50 - name: "{{ include "common.namespace" . }}-docker-registry-key"