mirror of
https://github.com/truenas/charts.git
synced 2024-04-21 15:21:45 +00:00
add surfshark
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
gluetunStorage:
|
||||
data:
|
||||
type: hostPath
|
||||
hostPath: /mnt/{{ .Release.Name }}/data
|
||||
|
||||
# https://github.com/qdm12/gluetun/wiki/Surfshark
|
||||
gluetunConfig:
|
||||
# :9999 is the internal healthcheck endpoint
|
||||
# We tell it to probe it self so we can see if it's healthy
|
||||
# As it will never connect to actual servers to be able to reach the internet
|
||||
# This is only for CI, healthcheck will fail if configuration is not valid
|
||||
additionalEnvs:
|
||||
- name: HEALTH_TARGET_ADDRESS
|
||||
value: localhost:9999
|
||||
provider: surfshark
|
||||
type: openvpn
|
||||
openvpnUser: username
|
||||
openvpnPassword: password
|
||||
@@ -0,0 +1,20 @@
|
||||
gluetunStorage:
|
||||
data:
|
||||
type: hostPath
|
||||
hostPath: /mnt/{{ .Release.Name }}/data
|
||||
|
||||
# https://github.com/qdm12/gluetun/wiki/Surfshark
|
||||
gluetunConfig:
|
||||
# :9999 is the internal healthcheck endpoint
|
||||
# We tell it to probe it self so we can see if it's healthy
|
||||
# As it will never connect to actual servers to be able to reach the internet
|
||||
# This is only for CI, healthcheck will fail if configuration is not valid
|
||||
additionalEnvs:
|
||||
- name: HEALTH_TARGET_ADDRESS
|
||||
value: localhost:9999
|
||||
provider: surfshark
|
||||
type: wireguard
|
||||
wireguardPrivateKey: ACTNX9v4t6bN6I207zBvrd/DcJYz8n5+NCjjqPFYEXE=
|
||||
wireguardAddresses:
|
||||
- 10.0.0.0/16
|
||||
- 172.0.0.0/16
|
||||
@@ -68,6 +68,8 @@ questions:
|
||||
description: PureVPN
|
||||
- value: slickvpn
|
||||
description: SlickVPN
|
||||
- value: surfshark
|
||||
description: Surfshark
|
||||
|
||||
- variable: type
|
||||
label: Type
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"fastestvpn" "hidemyass" "ipvanish" "ivpn"
|
||||
"mullvad" "nordvpn" "perfect privacy" "privado"
|
||||
"private internet access" "privatevpn" "protonvpn"
|
||||
"purevpn" "slickvpn") -}}
|
||||
"purevpn" "slickvpn" "surfshark") -}}
|
||||
{{- if not (mustHas .Values.gluetunConfig.provider $providers) -}}
|
||||
{{- fail (printf "Gluetun - Expected [Provider] to be one of [%v], but got [%v]" (join ", " $providers) .Values.gluetunConfig.provider) -}}
|
||||
{{- end -}}
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
{{/* https://github.com/qdm12/gluetun/wiki/Surfshark */}}
|
||||
{{- define "gluetun.surfshark.openvpn.validation" -}}
|
||||
{{- include "gluetun.options.required" (dict
|
||||
"rootCtx" $
|
||||
"options" (list
|
||||
"openvpnUser"
|
||||
"openvpnPassword")) -}}
|
||||
{{- include "gluetun.unsupported.server.options" (dict
|
||||
"rootCtx" $
|
||||
"options" (list
|
||||
"serverNames")) -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "gluetun.surfshark.wireguard.validation" -}}
|
||||
{{- include "gluetun.options.required" (dict
|
||||
"rootCtx" $
|
||||
"options" (list
|
||||
"wireguardPrivateKey"
|
||||
"wireguardAddresses")) -}}
|
||||
{{- include "gluetun.unsupported.server.options" (dict
|
||||
"rootCtx" $
|
||||
"options" (list
|
||||
"serverNames")) -}}
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user