Extended if

This commit is contained in:
Kevin Tumma 2023-12-08 11:01:07 +01:00
parent 561a30bc02
commit 13b0918ece

View File

@ -165,7 +165,7 @@ spec:
requests: requests:
cpu: "500m" cpu: "500m"
memory: "4096Mi" memory: "4096Mi"
{{- if .Values.dvc.sshKey -}} {{- if and ( .Values.dvc ) ( .Values.dvc.sshKey ) -}}
volumeMounts: volumeMounts:
- mountPath: /keys - mountPath: /keys
name: ssh-keys-dvc name: ssh-keys-dvc