feat(service-monitor): support bearer token authentication on metrics endpoint #719

Merged
hiteshnayak305 merged 5 commits from feat/secure-metrics-endpoint into main 2024-11-30 13:59:29 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit bc35c3927f - Show all commits

View File

@ -38,6 +38,6 @@ spec:
credentials:
name: {{ include "gitea.metrics-secret-name" . }}
key: token
optional: true
optional: false
{{- end }}
{{- end -}}

View File

@ -67,4 +67,4 @@ tests:
credentials:
name: gitea-unittests-metrics-secret
key: token
optional: true
optional: false