fix: render secret when gitea.metrics.serviceMonitor is enabled
Signed-off-by: Hitesh Nayak <hiteshnayak305@gmail.com>
This commit is contained in:
parent
0a433ab599
commit
4548175824
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue