Skip to content
This repository was archived by the owner on Mar 16, 2024. It is now read-only.

Commit d1806f8

Browse files
authored
Merge pull request #57 from DavideWalder/keep-dns-unchanged
Added KEEP_DNS_UNCHANGED option to Helm chart
2 parents ac66032 + c3ca6fb commit d1806f8

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

chart/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ A Helm chart for an OpenVPN client with HTTP and SOCKS5 proxies
2424
| image.pullPolicy | string | `"IfNotPresent"` | |
2525
| image.repository | string | `"ghcr.io/wfg/openvpn-client"` | |
2626
| image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. |
27+
| keepDNSUnchanged.enabled | bool | `false` | Keep existing DNS configuration |
2728
| killSwitch.enabled | bool | `true` | The on/off status of the network kill switch. |
2829
| listenOn | string | `""` | Address the proxies will be listening on. Set to `0.0.0.0` to allow all IP addresses. |
2930
| nameOverride | string | `""` | |
@@ -38,4 +39,4 @@ A Helm chart for an OpenVPN client with HTTP and SOCKS5 proxies
3839
| vpnLogLevel | int | `3` | OpenVPN verbosity (`1`-`11`) |
3940

4041
----------------------------------------------
41-
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)
42+
Autogenerated from chart metadata using [helm-docs v1.7.0](https://github.com/norwoodj/helm-docs/releases/v1.7.0)

chart/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ spec:
5757
value: {{- include "openvpn-client.boolean" .Values.httpProxy }}
5858
- name: KILL_SWITCH
5959
value: {{- include "openvpn-client.boolean" .Values.killSwitch }}
60+
- name: KEEP_DNS_UNCHANGED
61+
value: {{- include "openvpn-client.boolean" .Values.keepDNSUnchanged }}
6062
{{- if .Values.listenOn }}
6163
- name: LISTEN_ON
6264
value: {{ .Values.listenOn }}

chart/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ killSwitch:
7272
# -- The on/off status of the network kill switch.
7373
enabled: true
7474

75+
keepDNSUnchanged:
76+
# -- Keep existing DNS configuration
77+
enabled: false
78+
7579
configFiles:
7680
# -- The OpenVPN config file to use. If this is unset, the first file with the extension `.conf` will be used.
7781
openVPNConfig: ""

0 commit comments

Comments
 (0)