diff --git a/templates/testsuite-ui-pod.yaml b/templates/testsuite-ui-pod.yaml index 264cf24..58f4c03 100644 --- a/templates/testsuite-ui-pod.yaml +++ b/templates/testsuite-ui-pod.yaml @@ -32,6 +32,7 @@ spec: requests: cpu: "500m" memory: "4096Mi" + {{- if and (.Values.dvc) (.Values.dvc.sshKey) }} volumeMounts: - mountPath: /keys name: ssh-keys-dvc @@ -42,4 +43,5 @@ spec: secret: defaultMode: 0400 secretName: ssh-keys-dvc + {{- end }} {{- end }}