From 675266a55c401e21f6ceac4b4932e0675400dfc3 Mon Sep 17 00:00:00 2001 From: Nurlan Moldomurov Date: Thu, 31 Oct 2024 13:40:18 +0300 Subject: [PATCH] PMM-7 Fix linter --- charts/pmm/templates/statefulset.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/pmm/templates/statefulset.yaml b/charts/pmm/templates/statefulset.yaml index 38abbdf2..b54ef312 100644 --- a/charts/pmm/templates/statefulset.yaml +++ b/charts/pmm/templates/statefulset.yaml @@ -58,7 +58,7 @@ spec: - configMapRef: name: {{ include "pmm.fullname" . }} optional: true - {{ if not .Values.secret.create and .Values.secret.name }} + {{ if and (not .Values.secret.create) .Values.secret.name }} - secretRef: name: {{ .Values.secret.name }} {{ end }}