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": "-5"
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 }}
29 - name: post-install-job
30 image: "{{ include "common.repository" . }}/{{ .Values.global.clientImage }}"
31 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
36 # since the dmaap-bc SSL certificate is expired in this release, we
37 # pass the -k flag to ignore the cert check error.
38 # AFAIK, this post-install script is the only client which actually
39 # uses https (against dmaap-bc API) in El Alto Release.
40 # So, this workaround is the easiest way out for me.
41 # Also note that the only reason to even deploy dmaap-bc is if you
42 # need authenticated topics in message-router, or a feed in data-router.
43 # If that is not your case, then don't even deploy dmaap-bc.
49 value: "{{.Chart.Name}}-post-install"
51 - mountPath: /etc/localtime
55 # NOTE: on the following several configMaps, careful to include / at end
56 # since there may be more than one file in each mountPath
57 # NOTE: the basename of the subdirectory of mountPath is important - it matches the DBCL API URI
58 - name: {{ include "common.fullname" . }}-dbc-dmaap
59 mountPath: /opt/app/config/dmaap/
60 - name: {{ include "common.fullname" . }}-dbc-dcaelocations
61 mountPath: /opt/app/config/dcaeLocations/
63 {{ include "common.resources" . | indent 10 }}
64 {{- if .Values.nodeSelector }}
66 {{ toYaml .Values.nodeSelector | indent 8 }}
68 {{- if .Values.affinity }}
70 {{ toYaml .Values.affinity | indent 8 }}
76 - name: {{ include "common.fullname" . }}-dbc-dmaap
78 name: {{ include "common.fullname" . }}-dbc-dmaap
79 - name: {{ include "common.fullname" . }}-dbc-dcaelocations
81 name: {{ include "common.fullname" . }}-dbc-dcaelocations
83 - name: "{{ include "common.namespace" . }}-docker-registry-key"