Fixed syntax errors of tpl function

This commit is contained in:
2023-11-02 12:09:09 +01:00
parent d9f1c1dcd5
commit c9b12451d8
10 changed files with 34 additions and 17 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: {{ include "template.fullname" . }}
namespace: {{ tpl .Values.prometheus.namespace . | default "observability" }}
namespace: {{ tpl (quote .Values.prometheus.namespace) . | default "observability" }}
labels:
{{- include "template.labels" . | nindent 4 }}
spec: