fix(service-monitor): make auth token 'not' optional if provided
This commit is contained in:
parent
a8984b9a98
commit
bc35c3927f
@ -38,6 +38,6 @@ spec:
|
||||
credentials:
|
||||
name: {{ include "gitea.metrics-secret-name" . }}
|
||||
key: token
|
||||
optional: true
|
||||
optional: false
|
||||
{{- end }}
|
||||
{{- end -}}
|
@ -67,4 +67,4 @@ tests:
|
||||
credentials:
|
||||
name: gitea-unittests-metrics-secret
|
||||
key: token
|
||||
optional: true
|
||||
optional: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user