Skip to content

Commit

Permalink
fix: use selectorLabels helper template
Browse files Browse the repository at this point in the history
Signed-off-by: ainthapanya-sqc <[email protected]>
  • Loading branch information
ainthapanya-sqc authored Jan 8, 2025
1 parent 4290755 commit 0ac5fad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions charts/opensearch-dashboards/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,4 @@ spec:
protocol: TCP
port: {{ .Values.service.metricsPort }}
selector:
app.kubernetes.io/name: {{ .Chart.Name }}
app.kubernetes.io/version: {{ .Release.Name | quote }}
{{- include "opensearch-dashboards.selectorLabels" . | nindent 4 }}

0 comments on commit 0ac5fad

Please sign in to comment.