Skip to content

Commit dbe00d8

Browse files
committed
Address Helm chart comment
Signed-off-by: Will Gan <[email protected]>
1 parent 1987a45 commit dbe00d8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

helm-charts/charts/kube-starrocks/charts/starrocks/templates/starrockscluster.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ spec:
6868
{{- if .Values.starrocksFESpec.service.annotations}}
6969
{{- toYaml .Values.starrocksFESpec.service.annotations | nindent 8 }}
7070
{{- end }}
71+
{{- end }}
72+
{{- if .Values.starrocksFESpec.service.labels}}
7173
labels:
72-
{{- if .Values.starrocksFESpec.service.labels}}
7374
{{- toYaml .Values.starrocksFESpec.service.labels | nindent 8 }}
74-
{{- end }}
7575
{{- end }}
7676
{{- end }}
7777
annotations:
@@ -329,10 +329,10 @@ spec:
329329
{{- if .Values.starrocksBeSpec.service.annotations }}
330330
{{- toYaml .Values.starrocksBeSpec.service.annotations | nindent 8 }}
331331
{{- end }}
332+
{{- end }}
333+
{{- if .Values.starrocksBeSpec.service.labels}}
332334
labels:
333-
{{- if .Values.starrocksBeSpec.service.labels}}
334335
{{- toYaml .Values.starrocksBeSpec.service.labels | nindent 8 }}
335-
{{- end }}
336336
{{- end }}
337337
{{- end }}
338338
annotations:
@@ -758,10 +758,10 @@ spec:
758758
{{- if .Values.starrocksCnSpec.service.annotations }}
759759
{{- toYaml .Values.starrocksCnSpec.service.annotations | nindent 8 }}
760760
{{- end }}
761+
{{- end }}
762+
{{- if .Values.starrocksCnSpec.service.labels}}
761763
labels:
762-
{{- if .Values.starrocksCnSpec.service.labels}}
763764
{{- toYaml .Values.starrocksCnSpec.service.labels | nindent 8 }}
764-
{{- end }}
765765
{{- end }}
766766
{{- end }}
767767
annotations:

0 commit comments

Comments
 (0)