2022-01-29 07:47:26 -05:00
|
|
|
---
|
2022-11-09 14:48:08 -05:00
|
|
|
{{- if .Values.ingress.basicAuth.enabled -}}
|
2022-01-29 07:47:26 -05:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
metadata:
|
2022-11-09 14:48:08 -05:00
|
|
|
name: {{ include "ovpn-admin-chart.fullname" . }}-basic-auth
|
2022-01-29 07:47:26 -05:00
|
|
|
type: Opaque
|
|
|
|
data:
|
|
|
|
auth: {{ print .Values.ovpnAdmin.basicAuth.user ":{PLAIN}" .Values.ovpnAdmin.basicAuth.password | b64enc | quote }}
|
2022-11-09 14:48:08 -05:00
|
|
|
{{- end -}}
|