diff --git a/charts/kyuubi/templates/kyuubi-servicemonitor.yaml b/charts/kyuubi/templates/kyuubi-servicemonitor.yaml index 937704bcc..3f0771b63 100644 --- a/charts/kyuubi/templates/kyuubi-servicemonitor.yaml +++ b/charts/kyuubi/templates/kyuubi-servicemonitor.yaml @@ -28,7 +28,7 @@ metadata: spec: selector: matchLabels: - app: {{ .Release.Name }} + {{- include "kyuubi.selectorLabels" . | nindent 6 }} endpoints: {{- toYaml .Values.serviceMonitor.endpoints | nindent 4 }} {{- end }}