Skip to content

Commit

Permalink
Merge pull request #3432 from jkroepke/grafana/basic
Browse files Browse the repository at this point in the history
[grafana] Expose basicAuth property for ServiceMonitor
  • Loading branch information
Sheikh-Abubaker authored Dec 16, 2024
2 parents 27953cb + 983b8a5 commit 484fe2b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/grafana/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: grafana
version: 8.8.1
version: 8.8.2
appVersion: 11.4.0
kubeVersion: "^1.8.0-0"
description: The leading tool for querying and visualizing time series and metrics.
Expand Down
4 changes: 4 additions & 0 deletions charts/grafana/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ spec:
metricRelabelings:
{{- toYaml . | nindent 6 }}
{{- end }}
{{- with .Values.serviceMonitor.basicAuth }}
basicAuth:
{{- toYaml . | nindent 6 }}
{{- end }}
jobLabel: "{{ .Release.Name }}"
selector:
matchLabels:
Expand Down
1 change: 1 addition & 0 deletions charts/grafana/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ serviceMonitor:
scrapeTimeout: 30s
relabelings: []
metricRelabelings: []
basicAuth: {}
targetLabels: []

extraExposePorts: []
Expand Down

0 comments on commit 484fe2b

Please sign in to comment.