From a3d6c7a51e62ec3d9dd613d09dde303993ddff1c Mon Sep 17 00:00:00 2001 From: Dennis Zheleznyak Date: Mon, 7 Oct 2024 12:33:47 +0300 Subject: [PATCH] Add tpl to kube-prometheus-stack templates Signed-off-by: Dennis Zheleznyak --- charts/kube-prometheus-stack/Chart.yaml | 2 +- .../templates/prometheus-operator/deployment.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/kube-prometheus-stack/Chart.yaml b/charts/kube-prometheus-stack/Chart.yaml index e980f86f75e2..4a1e8fd53990 100644 --- a/charts/kube-prometheus-stack/Chart.yaml +++ b/charts/kube-prometheus-stack/Chart.yaml @@ -23,7 +23,7 @@ name: kube-prometheus-stack sources: - https://github.com/prometheus-community/helm-charts - https://github.com/prometheus-operator/kube-prometheus -version: 65.1.1 +version: 65.1.2 appVersion: v0.77.1 kubeVersion: ">=1.19.0-0" home: https://github.com/prometheus-operator/kube-prometheus diff --git a/charts/kube-prometheus-stack/templates/prometheus-operator/deployment.yaml b/charts/kube-prometheus-stack/templates/prometheus-operator/deployment.yaml index e3f3261d954c..0c11fa098300 100644 --- a/charts/kube-prometheus-stack/templates/prometheus-operator/deployment.yaml +++ b/charts/kube-prometheus-stack/templates/prometheus-operator/deployment.yaml @@ -217,7 +217,7 @@ spec: {{- end }} {{- with .Values.prometheusOperator.nodeSelector }} nodeSelector: -{{ toYaml . | indent 8 }} +{{ tpl (toYaml .) $ | indent 8 }} {{- end }} {{- with .Values.prometheusOperator.affinity }} affinity: @@ -225,6 +225,6 @@ spec: {{- end }} {{- with .Values.prometheusOperator.tolerations }} tolerations: -{{ toYaml . | indent 8 }} +{{ tpl (toYaml .) $ | indent 8 }} {{- end }} {{- end }}