1
0
Fork 0
mirror of synced 2024-11-19 15:25:36 -05:00
ovpn-admin/helm/templates/secret.yaml
2022-11-09 22:48:08 +03:00

10 lines
No EOL
298 B
YAML

---
{{- if .Values.ingress.basicAuth.enabled -}}
apiVersion: v1
kind: Secret
metadata:
name: {{ include "ovpn-admin-chart.fullname" . }}-basic-auth
type: Opaque
data:
auth: {{ print .Values.ovpnAdmin.basicAuth.user ":{PLAIN}" .Values.ovpnAdmin.basicAuth.password | b64enc | quote }}
{{- end -}}