From 5fdb71f77fdb2cc35387d7c1f522ad89be7ac89e Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Tue, 15 Mar 2022 11:54:56 +0200 Subject: [PATCH] fix(common): remove `or` when only one argument (#2166) --- charts/library/common/Chart.yaml | 2 +- .../library/common/templates/addons/vpn/openvpn/_container.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/library/common/Chart.yaml b/charts/library/common/Chart.yaml index 7b94abe0180..e56f46e8dc8 100644 --- a/charts/library/common/Chart.yaml +++ b/charts/library/common/Chart.yaml @@ -15,4 +15,4 @@ maintainers: name: common sources: null type: library -version: 9.1.2 +version: 9.1.3 diff --git a/charts/library/common/templates/addons/vpn/openvpn/_container.tpl b/charts/library/common/templates/addons/vpn/openvpn/_container.tpl index 5e4959c7e16..eb1a5cf3e09 100644 --- a/charts/library/common/templates/addons/vpn/openvpn/_container.tpl +++ b/charts/library/common/templates/addons/vpn/openvpn/_container.tpl @@ -57,7 +57,7 @@ envFrom: volumeMounts: - mountPath: {{ .Values.persistence.shared.mountPath }} name: shared -{{- if or .Values.addons.vpn.configFile }} +{{- if .Values.addons.vpn.configFile }} - name: vpnconfig mountPath: /vpn/vpn.conf {{- end }}