From 13b0918ece11fc32159145bc7a1894caec32b815 Mon Sep 17 00:00:00 2001 From: Kevin Tumma Date: Fri, 8 Dec 2023 11:01:07 +0100 Subject: [PATCH] Extended if --- templates/testsuite-pod.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/testsuite-pod.yaml b/templates/testsuite-pod.yaml index 6ea1368..35e473e 100644 --- a/templates/testsuite-pod.yaml +++ b/templates/testsuite-pod.yaml @@ -165,7 +165,7 @@ spec: requests: cpu: "500m" memory: "4096Mi" - {{- if .Values.dvc.sshKey -}} + {{- if and ( .Values.dvc ) ( .Values.dvc.sshKey ) -}} volumeMounts: - mountPath: /keys name: ssh-keys-dvc