mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-05 07:06:20 -03:00
chore(tailscale): remove variables that not relevant (#212)
* chore(tailscale): remove variables that not relevant * bump
This commit is contained in:
@@ -91,25 +91,6 @@ env:
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{- if .Values.addons.vpn.killSwitch }}
|
||||
- name: KILLSWITCH
|
||||
value: "true"
|
||||
{{- $excludednetworksv4 := "172.16.0.0/12"}}
|
||||
{{- range .Values.addons.vpn.excludedNetworks_IPv4 }}
|
||||
{{- $excludednetworksv4 = ( printf "%v;%v" $excludednetworksv4 . ) }}
|
||||
{{- end}}
|
||||
- name: KILLSWITCH_EXCLUDEDNETWORKS_IPV4
|
||||
value: {{ $excludednetworksv4 | quote }}
|
||||
{{- if .Values.addons.vpn.excludedNetworks_IPv6 }}
|
||||
{{- $excludednetworksv6 := ""}}
|
||||
{{- range .Values.addons.vpn.excludedNetworks_IPv4 }}
|
||||
{{- $excludednetworksv6 = ( printf "%v;%v" $excludednetworksv6 . ) }}
|
||||
{{- end}}
|
||||
- name: KILLSWITCH_EXCLUDEDNETWORKS_IPV6
|
||||
value: {{ .Values.addons.vpn.excludedNetworks_IPv6 | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
volumeMounts:
|
||||
- mountPath: {{ .Values.persistence.shared.mountPath }}
|
||||
name: shared
|
||||
|
||||
Reference in New Issue
Block a user