diff --git a/charts/library/common/templates/addons/vpn/openvpn/_container.tpl b/charts/library/common/templates/addons/vpn/openvpn/_container.tpl index 06baaa467cc..49aaea17d78 100644 --- a/charts/library/common/templates/addons/vpn/openvpn/_container.tpl +++ b/charts/library/common/templates/addons/vpn/openvpn/_container.tpl @@ -28,14 +28,10 @@ env: value: {{ $v | quote }} {{- end }} {{- end }} -{{- if or .Values.addons.vpn.openvpn.auth .Values.addons.vpn.openvpn.authSecret }} +{{- if or .Values.addons.vpn.openvpn.auth }} envFrom: - secretRef: - {{- if .Values.addons.vpn.openvpn.authSecret }} - name: {{ .Values.addons.vpn.openvpn.authSecret }} - {{- else }} name: {{ include "common.names.fullname" . }}-openvpn - {{- end }} {{- end }} volumeMounts: - mountPath: {{ .Values.persistence.shared.mountPath }} diff --git a/templates/questions/addons.yaml b/templates/questions/addons.yaml index fca1d2ccfd0..ed96295c612 100644 --- a/templates/questions/addons.yaml +++ b/templates/questions/addons.yaml @@ -29,12 +29,8 @@ show_if: [["type", "=", "openvpn"]] attrs: - variable: auth - label: "auth" - schema: - type: string - default: "" - - variable: authSecret - label: "authSecret" + label: "authentication credentials" + description: "authentication credentials, seperated by ; example: username;password" schema: type: string default: ""