20
20
checksum/config : {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
21
21
checksum/secret : {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
22
22
labels :
23
- app : {{ include "kafka-ui.name" . }}
24
- version : {{ .Values.image.tag | default .Chart.AppVersion }}
25
23
{{- include "kafka-ui.selectorLabels" . | nindent 8 }}
26
24
{{- if .Values.podLabels }}
27
25
{{- toYaml .Values.podLabels | nindent 8 }}
74
72
{{- if .Values.envs.secret}}
75
73
- secretRef :
76
74
name : {{ include "kafka-ui.fullname" . }}
77
- {{- end}}
75
+ {{- end}}
78
76
ports :
79
77
- name : http
80
78
containerPort : 8080
99
97
{{- toYaml .Values.resources | nindent 12 }}
100
98
{{- if or .Values.yamlApplicationConfig .Values.volumeMounts .Values.yamlApplicationConfigConfigMap}}
101
99
volumeMounts :
102
- {{- with .Values.volumeMounts }}
100
+ {{- with .Values.volumeMounts }}
103
101
{{- toYaml . | nindent 12 }}
104
102
{{- end }}
105
103
{{- if .Values.yamlApplicationConfig }}
@@ -118,12 +116,12 @@ spec:
118
116
{{- end }}
119
117
{{- if .Values.yamlApplicationConfig }}
120
118
- name : kafka-ui-yaml-conf
121
- configMap :
119
+ configMap :
122
120
name : {{ include "kafka-ui.fullname" . }}-fromvalues
123
121
{{- end }}
124
122
{{- if .Values.yamlApplicationConfigConfigMap}}
125
123
- name : kafka-ui-yaml-conf-configmap
126
- configMap :
124
+ configMap :
127
125
name : {{ .Values.yamlApplicationConfigConfigMap.name }}
128
126
{{- end }}
129
127
{{- end }}
@@ -138,4 +136,4 @@ spec:
138
136
{{- with .Values.tolerations }}
139
137
tolerations :
140
138
{{- toYaml . | nindent 8 }}
141
- {{- end }}
139
+ {{- end }}
0 commit comments