mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/openvpn] adding boolean property, which allows to skip default route (#20266)
Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
c0bd025047
commit
0d8bb237d5
@@ -3,7 +3,7 @@ description: A Helm chart to install an openvpn server inside a kubernetes clust
|
||||
generation is also part of the deployment, and this chart will generate client keys
|
||||
as needed.
|
||||
name: openvpn
|
||||
version: 4.0.0
|
||||
version: 4.1.0
|
||||
appVersion: 1.1.0
|
||||
maintainers:
|
||||
- name: jasongwartz
|
||||
|
||||
@@ -103,6 +103,7 @@ Parameter | Description | Default
|
||||
`openvpn.OVPN_K8S_POD_SUBNET` | Kubernetes pod network subnet (optional) | `255.0.0.0`
|
||||
`openvpn.OVPN_K8S_SVC_NETWORK` | Kubernetes service network (optional) | `nil`
|
||||
`openvpn.OVPN_K8S_SVC_SUBNET` | Kubernetes service network subnet (optional) | `nil`
|
||||
`openvpn.DEFAULT_ROUTE_ENABLED` | Push a route which openvpn sets by default | `true`
|
||||
`openvpn.dhcpOptionDomain` | Push a `dhcp-option DOMAIN` config | `true`
|
||||
`openvpn.serverConf` | Lines appended to the end of the server configuration file (optional)| `nil`
|
||||
`openvpn.clientConf` | Lines appended into the client configuration file (optional) | `nil`
|
||||
@@ -191,4 +192,4 @@ openvpn:
|
||||
|
||||
### 3. Ubuntu Networking GUIs
|
||||
|
||||
Importing the client ovpn file from either of the Ubuntu network/connection management GUIs (Settings or Advanced Networking app) do not successfully import all settings. They seem to remove important parts of the configuration (DNS and Domains). The most reliable method of initiating the connection is to run `sudo openvpn --config <FILE>`.
|
||||
Importing the client ovpn file from either of the Ubuntu network/connection management GUIs (Settings or Advanced Networking app) do not successfully import all settings. They seem to remove important parts of the configuration (DNS and Domains). The most reliable method of initiating the connection is to run `sudo openvpn --config <FILE>`.
|
||||
|
||||
@@ -202,7 +202,9 @@ data:
|
||||
user nobody
|
||||
group nogroup
|
||||
|
||||
{{ if .Values.openvpn.DEFAULT_ROUTE_ENABLED }}
|
||||
push "route NETWORK NETMASK"
|
||||
{{ end }}
|
||||
{{ if (.Values.openvpn.OVPN_K8S_POD_NETWORK) (.Values.openvpn.OVPN_K8S_POD_SUBNET) }}
|
||||
push "route {{ .Values.openvpn.OVPN_K8S_POD_NETWORK }} {{ .Values.openvpn.OVPN_K8S_POD_SUBNET }}"
|
||||
{{ end }}
|
||||
|
||||
@@ -83,6 +83,8 @@ openvpn:
|
||||
# OVPN_K8S_SVC_NETWORK:
|
||||
# Kubernetes service network subnet (optional).
|
||||
# OVPN_K8S_SVC_SUBNET:
|
||||
# Set default route which openvpn figures basing on network routes inside openvpn pod
|
||||
DEFAULT_ROUTE_ENABLED: true
|
||||
# Server certificate data
|
||||
# keystoreSecret:
|
||||
# secret with openvpn certificates. If specified, certificates are taken from the secret
|
||||
|
||||
Reference in New Issue
Block a user