Skip to content

Commit

Permalink
Adapt prometheus configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
rfranzke committed Dec 22, 2021
1 parent 2d1c0bd commit abf77e4
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,14 @@ data:
scheme: https
tls_config:
insecure_skip_verify: true
{{- if not .Values.global.useTokenRequestor }}
cert_file: /etc/prometheus/seed/prometheus.crt
key_file: /etc/prometheus/seed/prometheus.key
{{- else }}
authorization:
type: Bearer
credentials_file: /var/run/secrets/gardener.cloud/shoot/token/token
{{- end }}
honor_labels: false
kubernetes_sd_configs:
- role: endpoints
Expand Down

0 comments on commit abf77e4

Please sign in to comment.