Skip to content

Commit d149d26

Browse files
authored
Revert "Add helm labels required by istio (#2548)" (#2589)
This reverts commit 1134ec5.
1 parent 5db2c17 commit d149d26

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

charts/kafka-ui/templates/deployment.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ spec:
2020
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
2121
checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
2222
labels:
23-
app: {{ include "kafka-ui.name" . }}
24-
version: {{ .Values.image.tag | default .Chart.AppVersion }}
2523
{{- include "kafka-ui.selectorLabels" . | nindent 8 }}
2624
{{- if .Values.podLabels }}
2725
{{- toYaml .Values.podLabels | nindent 8 }}
@@ -74,7 +72,7 @@ spec:
7472
{{- if .Values.envs.secret}}
7573
- secretRef:
7674
name: {{ include "kafka-ui.fullname" . }}
77-
{{- end}}
75+
{{- end}}
7876
ports:
7977
- name: http
8078
containerPort: 8080
@@ -99,7 +97,7 @@ spec:
9997
{{- toYaml .Values.resources | nindent 12 }}
10098
{{- if or .Values.yamlApplicationConfig .Values.volumeMounts .Values.yamlApplicationConfigConfigMap}}
10199
volumeMounts:
102-
{{- with .Values.volumeMounts }}
100+
{{- with .Values.volumeMounts }}
103101
{{- toYaml . | nindent 12 }}
104102
{{- end }}
105103
{{- if .Values.yamlApplicationConfig }}
@@ -118,12 +116,12 @@ spec:
118116
{{- end }}
119117
{{- if .Values.yamlApplicationConfig }}
120118
- name: kafka-ui-yaml-conf
121-
configMap:
119+
configMap:
122120
name: {{ include "kafka-ui.fullname" . }}-fromvalues
123121
{{- end }}
124122
{{- if .Values.yamlApplicationConfigConfigMap}}
125123
- name: kafka-ui-yaml-conf-configmap
126-
configMap:
124+
configMap:
127125
name: {{ .Values.yamlApplicationConfigConfigMap.name }}
128126
{{- end }}
129127
{{- end }}
@@ -138,4 +136,4 @@ spec:
138136
{{- with .Values.tolerations }}
139137
tolerations:
140138
{{- toYaml . | nindent 8 }}
141-
{{- end }}
139+
{{- end }}

0 commit comments

Comments
 (0)