fix(service-monitor): make auth token 'not' optional if provided

This commit is contained in:
Hitesh Nayak 2024-11-30 17:16:39 +05:30
parent a8984b9a98
commit bc35c3927f
No known key found for this signature in database
GPG Key ID: D1EE65392CD1E987
2 changed files with 2 additions and 2 deletions

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