From d44b6225aaa7da0c488bd6d95c48a17abec87e23 Mon Sep 17 00:00:00 2001 From: Robert Raicu Date: Fri, 27 Dec 2024 01:35:05 +0100 Subject: [PATCH] group if expressions --- charts/cluster/templates/cluster.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/cluster/templates/cluster.yaml b/charts/cluster/templates/cluster.yaml index 6cbe052af..f55d82d40 100644 --- a/charts/cluster/templates/cluster.yaml +++ b/charts/cluster/templates/cluster.yaml @@ -86,7 +86,7 @@ spec: {{- toYaml . | nindent 6 }} {{- end }} - {{- if not (and empty .Values.cluster.roles empty .Values.cluster.services) }} + {{- if not (and (empty .Values.cluster.roles) (empty .Values.cluster.services)) }} managed: {{- with .Values.cluster.services }} services: