cleanup authentication credentials for OpenVPN
This commit is contained in:
@@ -28,14 +28,10 @@ env:
|
|||||||
value: {{ $v | quote }}
|
value: {{ $v | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if or .Values.addons.vpn.openvpn.auth .Values.addons.vpn.openvpn.authSecret }}
|
{{- if or .Values.addons.vpn.openvpn.auth }}
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
{{- if .Values.addons.vpn.openvpn.authSecret }}
|
|
||||||
name: {{ .Values.addons.vpn.openvpn.authSecret }}
|
|
||||||
{{- else }}
|
|
||||||
name: {{ include "common.names.fullname" . }}-openvpn
|
name: {{ include "common.names.fullname" . }}-openvpn
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: {{ .Values.persistence.shared.mountPath }}
|
- mountPath: {{ .Values.persistence.shared.mountPath }}
|
||||||
|
|||||||
@@ -29,12 +29,8 @@
|
|||||||
show_if: [["type", "=", "openvpn"]]
|
show_if: [["type", "=", "openvpn"]]
|
||||||
attrs:
|
attrs:
|
||||||
- variable: auth
|
- variable: auth
|
||||||
label: "auth"
|
label: "authentication credentials"
|
||||||
schema:
|
description: "authentication credentials, seperated by ; example: username;password"
|
||||||
type: string
|
|
||||||
default: ""
|
|
||||||
- variable: authSecret
|
|
||||||
label: "authSecret"
|
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: ""
|
default: ""
|
||||||
|
|||||||
Reference in New Issue
Block a user