cleanup authentication credentials for OpenVPN
This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -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: ""
|
||||
|
||||
Reference in New Issue
Block a user