diff --git a/charts/common/templates/addons/vpn/tailscale/_container.tpl b/charts/common/templates/addons/vpn/tailscale/_container.tpl index 8ab22813..4ac044d0 100644 --- a/charts/common/templates/addons/vpn/tailscale/_container.tpl +++ b/charts/common/templates/addons/vpn/tailscale/_container.tpl @@ -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