fix: render secret when gitea.metrics.serviceMonitor is enabled
Signed-off-by: Hitesh Nayak <hiteshnayak305@gmail.com>
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user