mirror of
https://github.com/outbackdingo/qdrant-helm.git
synced 2026-01-27 10:20:18 +00:00
Fix metrics scraping if api key is enabled (#127)
This commit is contained in:
@@ -23,6 +23,13 @@ spec:
|
||||
{{- if .Values.metrics.serviceMonitor.relabelings }}
|
||||
relabelings:
|
||||
{{ tpl (toYaml .Values.metrics.serviceMonitor.relabelings | indent 8) . }}
|
||||
{{- end }}
|
||||
{{- if .Values.apiKey }}
|
||||
authorization:
|
||||
type: Bearer
|
||||
credentials:
|
||||
name: {{ include "qdrant.fullname" . }}-apikey
|
||||
key: api-key
|
||||
{{- end }}
|
||||
selector:
|
||||
matchLabels:
|
||||
|
||||
Reference in New Issue
Block a user