feat(secret): support annotations and labels for the basic auth secret
Some checks failed
Release / publish-chart (push) Failing after 46s

This commit is contained in:
2025-09-29 22:53:21 +02:00
parent ba1fd42cfc
commit 334a8b877b
12 changed files with 372 additions and 47 deletions

View File

@@ -17,10 +17,10 @@ spec:
endpoints:
- basicAuth:
password:
key: password
key: {{ include "reposilite.secrets.prometheusBasicAuth.passwordKey" . }}
name: {{ include "reposilite.secrets.prometheusBasicAuth.name" . }}
username:
key: username
key: {{ include "reposilite.secrets.prometheusBasicAuth.usernameKey" . }}
name: {{ include "reposilite.secrets.prometheusBasicAuth.name" . }}
enableHttp2: {{ required "The enableHttp2 option of the serviceMonitor is not defined!" .Values.prometheus.metrics.serviceMonitor.enableHttp2 }}
followRedirects: {{ required "The followRedirects option of the serviceMonitor is not defined!" .Values.prometheus.metrics.serviceMonitor.followRedirects }}