helm enable resource for template (#5268)

enable resource for template
This commit is contained in:
cuisongliu
2024-01-31 12:54:50 +08:00
committed by GitHub
parent f8c4fb3ebd
commit 9abd3a90c3
12 changed files with 30 additions and 6 deletions

View File

@@ -1,3 +1,4 @@
{{- if .Values.volume.enabled }}
{{- if .Values.volume.metricsPort }}
{{- if .Values.global.monitoring.enabled }}
apiVersion: monitoring.coreos.com/v1
@@ -21,4 +22,5 @@ spec:
app.kubernetes.io/name: {{ template "seaweedfs.name" . }}
app.kubernetes.io/component: volume
{{- end }}
{{- end }}
{{- end }}
{{- end }}