fix: render secret when gitea.metrics.serviceMonitor is enabled

Signed-off-by: Hitesh Nayak <hiteshnayak305@gmail.com>
This commit is contained in:
Hitesh Nayak 2024-04-10 22:38:51 +05:30
parent 0a433ab599
commit 4548175824
No known key found for this signature in database
GPG Key ID: 2E4D20F7F119206B
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{{- if and (.Values.gitea.config.metrics) (.Values.gitea.config.metrics.TOKEN) -}}
{{- if and (.Values.gitea.metrics.serviceMonitor.enabled) (.Values.gitea.config.metrics) (.Values.gitea.config.metrics.TOKEN) -}}
apiVersion: v1
kind: Secret
metadata: