Skip to content

Commit 0ac5fad

Browse files
fix: use selectorLabels helper template
Signed-off-by: ainthapanya-sqc <[email protected]>
1 parent 4290755 commit 0ac5fad

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

charts/opensearch-dashboards/templates/service.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,4 @@ spec:
4040
protocol: TCP
4141
port: {{ .Values.service.metricsPort }}
4242
selector:
43-
app.kubernetes.io/name: {{ .Chart.Name }}
44-
app.kubernetes.io/version: {{ .Release.Name | quote }}
43+
{{- include "opensearch-dashboards.selectorLabels" . | nindent 4 }}

0 commit comments

Comments
 (0)