diff --git a/templates/testsuite-pod.yaml b/templates/testsuite-pod.yaml index 5ba91cb..6ea1368 100644 --- a/templates/testsuite-pod.yaml +++ b/templates/testsuite-pod.yaml @@ -165,6 +165,7 @@ spec: requests: cpu: "500m" memory: "4096Mi" + {{- if .Values.dvc.sshKey -}} volumeMounts: - mountPath: /keys name: ssh-keys-dvc @@ -175,3 +176,4 @@ spec: secret: defaultMode: 0400 secretName: ssh-keys-dvc + {{- end }}