|
@@ -29,6 +29,10 @@ spec:
|
|
imagePullSecrets:
|
|
imagePullSecrets:
|
|
{{- toYaml . | nindent 8 }}
|
|
{{- toYaml . | nindent 8 }}
|
|
{{- end }}
|
|
{{- end }}
|
|
|
|
+ {{- with .Values.initContainers }}
|
|
|
|
+ initContainers:
|
|
|
|
+ {{- toYaml . | nindent 8 }}
|
|
|
|
+ {{- end }}
|
|
serviceAccountName: {{ include "kafka-ui.serviceAccountName" . }}
|
|
serviceAccountName: {{ include "kafka-ui.serviceAccountName" . }}
|
|
securityContext:
|
|
securityContext:
|
|
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
|
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
|
@@ -38,6 +42,10 @@ spec:
|
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
|
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
|
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
|
|
+ {{- with .Values.env }}
|
|
|
|
+ env:
|
|
|
|
+ {{- toYaml . | nindent 12 }}
|
|
|
|
+ {{- end }}
|
|
envFrom:
|
|
envFrom:
|
|
{{- if .Values.existingConfigMap }}
|
|
{{- if .Values.existingConfigMap }}
|
|
- configMapRef:
|
|
- configMapRef:
|
|
@@ -73,6 +81,14 @@ spec:
|
|
timeoutSeconds: 10
|
|
timeoutSeconds: 10
|
|
resources:
|
|
resources:
|
|
{{- toYaml .Values.resources | nindent 12 }}
|
|
{{- toYaml .Values.resources | nindent 12 }}
|
|
|
|
+ {{- with .Values.volumeMounts }}
|
|
|
|
+ volumeMounts:
|
|
|
|
+ {{- toYaml . | nindent 12 }}
|
|
|
|
+ {{- end }}
|
|
|
|
+ {{- with .Values.volumes }}
|
|
|
|
+ volumes:
|
|
|
|
+ {{- toYaml . | nindent 8 }}
|
|
|
|
+ {{- end }}
|
|
{{- with .Values.nodeSelector }}
|
|
{{- with .Values.nodeSelector }}
|
|
nodeSelector:
|
|
nodeSelector:
|
|
{{- toYaml . | nindent 8 }}
|
|
{{- toYaml . | nindent 8 }}
|