17 lines
322 B
Smarty
17 lines
322 B
Smarty
{{/*
|
|
The VPN config and scripts to be included.
|
|
*/}}
|
|
{{- define "tc.v1.common.addon.vpn.configmap" -}}
|
|
enabled: true
|
|
data:
|
|
{{- with .Values.addons.vpn.scripts.up }}
|
|
up.sh: |-
|
|
{{- . | nindent 4 }}
|
|
{{- end -}}
|
|
|
|
{{- with .Values.addons.vpn.scripts.down }}
|
|
down.sh: |-
|
|
{{- . | nindent 4 }}
|
|
{{- end -}}
|
|
{{- end -}}
|