61 Commits
Author SHA1 Message Date
Matt Farina 5814e9ea07 [stable/openvpn] deprecating chart (#24374)
Signed-off-by: Matt Farina <matt@mattfarina.com>
2020-11-13 15:33:06 -05:00
Scott Rigby ac7751557b [stable/openvpn] add repo archive notice (#24170)
Signed-off-by: Scott Rigby <scott@r6by.com>
2020-11-09 14:31:50 -08:00
Gorka Maiztegi 529e449ec9 Fix Go 1.14 templating (#22795)
Signed-off-by: Gorka Maiztegi <gmaiztegi@reviewpro.com>
2020-06-15 16:19:56 -07:00
Charney Kaye 9b0acd3ea1 Update Ubuntu package in README and bump stable/openvpn/Chart to 4.2.2 (#21591)
Take changes from the most accepted answer in the linked stackoverflow question, https://askubuntu.com/questions/1032476/ubuntu-18-04-no-dns-resolution-when-connected-to-openvpn

Signed-off-by: Charney Kaye <charneykaye@gmail.com>
2020-03-25 13:08:25 -07:00
j771andJustinStGermain 3668d3c252 [stable/openvpn] Add ability to use images from private registries. (#20949)
* [stable/openvpn] Add ability to use images from private registries.

Signed-off-by: JustinStGermain <justinstgermain@j2.localdomain>

* [stable/openvpn] Update chart version.

Signed-off-by: JustinStGermain <justinstgermain@j2.localdomain>

Co-authored-by: JustinStGermain <justinstgermain@j2.localdomain>
2020-03-18 08:46:48 -07:00
Gerard 050d372a4d Add CCD support to OpenVPN chart (#20314)
Signed-off-by: gboor <gerard@tesseract.nl>
2020-01-24 12:34:33 -08:00
irozet 0d8bb237d5 [stable/openvpn] adding boolean property, which allows to skip default route (#20266)
Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>
2020-01-21 13:16:35 -08:00
Jon StellyandKamil Szczygieł 26b4683f96 [stable/openvpn] systemd-resolved, ip_forward, nodeport, ubuntu fixes (#16381)
* ipv4 forwarding init container

Signed-off-by: Kamil Szczygieł <kamil@szczygiel.io>

* typo

Signed-off-by: Kamil Szczygieł <kamil@szczygiel.io>

* openvpn: systemd-resolved, ip_forward, ubuntu fixes

    - routing / ip_forward issue and workaround
    - Ubuntu systemd-resolved and vpn gui issues
    - Move openvpn.conf to openvpn.serverConf for custom lines written to the server config file
    - Add openvpn.clientConf for custom lines written to the client config file
    - Major version bump for these breaking change
    - If chart is deployed using NodePort service, have clients connect to NodePort instead of externalPort

Signed-off-by: Jon Stelly <967068+jonstelly@users.noreply.github.com>

* Updates per PR comments/suggestions

Signed-off-by: Jon Stelly <967068+jonstelly@users.noreply.github.com>

* remove whitespace from values.yaml

Signed-off-by: Jon Stelly <967068+jonstelly@users.noreply.github.com>

* Add newlines

- Ensure newClientCert.sh contains newlines for each config option, prevents multiple openvpn directives from ending up on same line and being invalid

Signed-off-by: Jon Stelly <967068+jonstelly@users.noreply.github.com>

Co-authored-by: Kamil Szczygieł <kamil@szczygiel.io>
2020-01-12 07:07:36 -08:00
Alan Tang 6ff1d83cc7 [stable/openvpn] Add tolerations support for openvpn (#17693)
* [stable/openvpn] Add tolerations support for openvpn

Signed-off-by: Alan Tang <alantang888@users.noreply.github.com>

* Bump a version

Signed-off-by: Alan Tang <alantang888@users.noreply.github.com>
2019-12-07 12:47:09 -08:00
Aaron-ML 53cdb3be02 [stable/openvpn] Add configurable readiness probes (#17730)
* Add configurable readiness probes

Signed-off-by: Aaron Lucas <aaron@alucas.me>

* Fix variables to integers

Signed-off-by: Aaron Lucas <aaron@alucas.me>
2019-10-16 16:50:39 -07:00
Simon Rüegg 3042ff7201 [stable/openvpn] Kubernetes 1.16 compatibility (#17678)
Signed-off-by: Simon Rüegg <simon@rueggs.ch>
2019-10-03 11:45:56 -07:00
Luke Addison f3add87e2c [stable/openvpn] Use octal format and remove default exec permissions (#16704)
* Use octal format and remove default exec permissions

Signed-off-by: Luke Addison <luke.addison@jetstack.io>

* Bump chart version

Signed-off-by: Luke Addison <luke.addison@jetstack.io>
2019-08-31 03:55:47 -07:00
Luke Addison 91c96f2697 [stable/openvpn] Fix CRL keystore secret permissions (#15555)
* Allow CRL PEM file to be read by anyone

Signed-off-by: Luke Addison <luke.addison@jetstack.io>

* Fix CRL file check

Signed-off-by: Luke Addison <luke.addison@jetstack.io>

* Change keystore mountpoint and chown CRL to nobody:nogroup

Signed-off-by: Luke Addison <luke.addison@jetstack.io>

* Preserve crl.pem permissions on copy

Signed-off-by: Luke Addison <luke.addison@jetstack.io>

* Revert mount path change

Signed-off-by: Luke Addison <luke.addison@jetstack.io>

* Fix directory location

Signed-off-by: Luke Addison <luke.addison@jetstack.io>

* Use octal format

Signed-off-by: Luke Addison <luke.addison@jetstack.io>

* Bump chart version

Signed-off-by: Luke Addison <luke.addison@jetstack.io>
2019-08-29 14:41:00 -07:00
Zihao Zhang 5b3a68dcaf Make openvpn work in Headless Services and HostPort mode (#15469)
Signed-off-by: Zihao Zhang <zzh8829@gmail.com>
2019-08-24 05:54:23 -07:00
Jason Gwartz db491b02ca adds dippynark owner - fix patch diff (#15756)
Signed-off-by: Jason Gwartz <jason.gwartz@gmail.com>
2019-08-09 13:51:13 -07:00
Enno Boland 7c1ad8c2b5 [stable/openvpn] custom definitions for iptables rules (#16091)
* [stable/openvpn] custom definitions for iptables rules

Signed-off-by: Enno Boland <mail@eboland.de>

* [stable/openvpn] document iptablesExtra

Signed-off-by: Enno Boland <mail@eboland.de>
2019-08-05 11:21:49 -07:00
Enno Boland f07c423d10 [stable/openvpn] Fix istio iptables rules (#15993)
* [stable/openvpn] Fix istio iptables rules

Pull request #15515 introduced istio support. Unfortunately, I added a
premature optimisation that is reverted by this commit.

Signed-off-by: Enno Boland <mail@eboland.de>

* [stable/openvpn] bump version

Signed-off-by: Enno Boland <mail@eboland.de>
2019-07-31 04:42:22 -07:00
Enno Boland 06e2db0603 [stable/openvpn]: add support for connecting to istio services. (#15515)
* [stable/openvpn] add support for connecting to istio services.

Signed-off-by: Enno Boland <mail@eboland.de>

* [stable/openvpn] document openvpn.istio.enabled variable

Signed-off-by: Enno Boland <mail@eboland.de>

* [stable/openvpn] make envoy port configurable.

Signed-off-by: Enno Boland <mail@eboland.de>

* [stable/openvpn] use ISTIO_INBOUND instead of default PREROUTING chain.

this makes openvpn fail while starting if this pod lack istio instead of
rejecting packages at runtime.

Signed-off-by: Enno Boland <mail@eboland.de>

* [stable/openvpn] bump version

Signed-off-by: Enno Boland <mail@eboland.de>
2019-07-21 08:30:52 -07:00
Luke Addison 9cf615cbcb [stable/openvpn] Add readiness probe (#15580)
* Add OpenVPN readiness probe

Signed-off-by: Luke Addison <luke.addison@jetstack.io>

* Use internal port

Signed-off-by: Luke Addison <luke.addison@jetstack.io>

* Bump chart version

Signed-off-by: Luke Addison <luke.addison@jetstack.io>
2019-07-16 14:32:06 -07:00
Luke Addison 4284bf64db [stable/openvpn/ Exec OpenVPN Process (#15575)
* Exec OpenVPN

Signed-off-by: Luke Addison <luke.addison@jetstack.io>

* Add signal explanation comment

Signed-off-by: Luke Addison <luke.addison@jetstack.io>
2019-07-16 13:52:48 -07:00
irozet 6ef76a6f84 [stable/openvpn] issue #14695 adding crl.pem to secret (#14777)
* Additing an option to create extra route for Kubernetes service network

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>

* bump chart version

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>

* bump minor update version

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>

* [stable/openvpn] fixing typo in openvpn.OVPN_K8S_SVC_SUBNET value name

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>

* [stable/openvpn] fix openvpn.OVPN_K8S_SVC_NETWORK and openvpn.OVPN_K8S_SVC_SUBNET names in values.yaml

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>

* [stable/openvpn] adding ability to keep certificates in chart values

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>

* passing certificates in secret rather than values

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>

* remove wrong values from from doc

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>

* fix typo

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>

* [stable/openvpn] adding crl.pem to secret

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>

* [stable/openvpn] making certificate revocation list optional

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>
2019-06-18 02:24:16 -07:00
Gerard 215cf60b26 [stable/openvpn] allow setting up ta.key and overriding cipher. (#14619)
* Revert a faultily included commit

Signed-off-by: gboor <gerard@tesseract.nl>
Signed-off-by: Gerard <gerard@tesseract.nl>

* Minor version bump

Signed-off-by: gboor <gerard@tesseract.nl>
Signed-off-by: Gerard <gerard@tesseract.nl>
2019-06-09 04:09:05 -07:00
Christian Jantz 100d5a156b [stable/openvpn] add certificate revocation list support (#14452)
* added crl support to openvpn chart
Signed-off-by: Christian Jantz <chris@safewrd.com>

* added documentation on how to revoke certificates
Signed-off-by: Christian Jantz <chris@safewrd.com>
2019-06-08 01:09:05 -07:00
James Robinson 99e75356ad Add namespace to command documentation in NOTES.txt (#13870)
Bump chart version

Signed-off-by: Jim Robinson <jscrobinson@gmail.com>
Signed-off-by: Jim Robinson <jim@croud.co.uk>
2019-05-15 15:11:18 -07:00
Harold Drost a73e53019c Detect current network and netmask (#13250)
* Detect current network and netmask

Previously the network was guessed (assumed it was a /24 by replacing the last octet with a 0) and then later the netmask was hardcoded to 255.255.240.0 as a result the requested route is almost always incorrect. As most people supply their own or use the vpn tunnel as a default gateway it's probably rare to cause any issues.

Signed-off-by: Harold Drost <baelish@bluecell.net>

* Removing unnecessary debug messages.

Signed-off-by: Harold Drost <baelish@bluecell.net>

* Actually fixing the thing it was all about... :$

My testing worked because helm believed the `openvpn.conf` unchanged and therefore didn't replace the manually edited file which had the change in this commit.
Tested using brand new deployment now works correctly and without routing errors.

Signed-off-by: Harold Drost <baelish@bluecell.net>
2019-04-25 10:22:47 -07:00
John Felten dbeab9d1da Update OWNERS (#13121)
* Update OWNERS

Signed-off-by: jfelten <john.felten@hbo.com>

* Update Chart.yaml

Signed-off-by: jfelten <john.felten@hbo.com>
2019-04-22 06:23:44 -07:00
Yaniv Oliver e9b0beef05 [stable/openvpn] Updated notes to use logs command instead of deprecated log command (#12170)
* Updated OpenVPN chart notes to use logs command instead of deprecated log command

Signed-off-by: Yaniv Oliver <yanivoliver@gmail.com>

* Updated OpenVPN readme file with updated logs command

Signed-off-by: Yaniv Oliver <yanivoliver@gmail.com>
2019-03-13 18:56:22 -07:00
Jai Pradeesh 5bbf2df168 [stable/openvpn] Adds nodeSelector (#9965)
Signed-off-by: Jai <jai@deepsource.io>
2019-02-26 01:57:08 -08:00
Lyle Franklin ef4e666253 Add configurable podAnnotations to openvpn chart (#9835)
* Add configurable `podAnnotations` to openvpn chart

Use case is using `ark` + `restic` to take backups which requires pods
with persistent data to be annotated like:
```
kubectl annotate pod openvpn-6cff5449-wl48k backup.ark.heptio.com/backup-volumes=certs
```

Signed-off-by: Lyle Franklin <lylejfranklin@gmail.com>

* Use toYaml helper in openvpn

Signed-off-by: Lyle Franklin <lylejfranklin@gmail.com>
2019-01-02 11:53:02 -08:00
irozet 9cfbfcbbfe [stable/openvpn] adding ability to keep certificates in chart values (#7916)
* Additing an option to create extra route for Kubernetes service network

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>

* bump chart version

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>

* bump minor update version

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>

* [stable/openvpn] fixing typo in openvpn.OVPN_K8S_SVC_SUBNET value name

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>

* [stable/openvpn] fix openvpn.OVPN_K8S_SVC_NETWORK and openvpn.OVPN_K8S_SVC_SUBNET names in values.yaml

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>

* [stable/openvpn] adding ability to keep certificates in chart values

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>

* passing certificates in secret rather than values

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>

* remove wrong values from from doc

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>

* fix typo

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>
2018-10-29 07:24:43 -07:00
Kevin Pullin 9e0261a6b0 OpenVPN NOTES.txt - Fix label key in the pod status command and add 'namespace' flag (#8484)
In `NOTES.txt`, the command to follow the pod's log has a label filter with the old `type` key instead of the new `app` key.

Additionally add a 'namespace' flag per https://github.com/helm/charts/pull/5817#discussion_r193873501

Signed-off-by: Kevin Pullin <kevin.pullin@gmail.com>
2018-10-15 15:11:26 -07:00
irozet a99b192557 [stable/openvpn] fixing typo in OVPN_K8S_SVC_SUBNET property name (#7503)
* Additing an option to create extra route for Kubernetes service network

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>

* bump chart version

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>

* bump minor update version

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>

* [stable/openvpn] fixing typo in openvpn.OVPN_K8S_SVC_SUBNET value name

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>

* [stable/openvpn] fix openvpn.OVPN_K8S_SVC_NETWORK and openvpn.OVPN_K8S_SVC_SUBNET names in values.yaml

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>
2018-09-23 11:12:39 -07:00
irozet eb47ec71d5 Additing an option to create extra route for Kubernetes service network (#7470)
* Additing an option to create extra route for Kubernetes service network

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>

* bump chart version

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>

* bump minor update version

Signed-off-by: Irina Rozet <irina.rozet@ingrammicro.com>
2018-08-31 14:38:43 -07:00
ejether 21c58fe9af replaced single line DOMAIN in openvpn config with multi-line DOMAIN-… (#6258)
* replaced single line DOMAIN in openvpn config with multi-line DOMAIN-SEARCH to make it work with Mac OSX and tunnelblick

* Update Chart.yaml
2018-07-02 13:07:18 -07:00
jakemccloskey dc3c22f108 [stable/openvpn] Fixes for client config file (#6285)
* Remove dh params from client config. Unwrap remote config.

* Bump version.
2018-06-26 19:55:20 -07:00
Jonathan Meyers 38a1c98ed1 [stable/openvpn] added ability to configure LoadBalancerSourceRanges (#5989)
* added ability to restrict LoadBalancerSourceRanges

* Bumped Chart version

* Bump minor version for new feature

* Update Chart.yaml
2018-06-17 09:01:30 -07:00
Dan Wendorf 467c075fce [stable/openvpn] Configurable update strategy (#5970) 2018-06-17 06:38:30 -07:00
Dan Wendorf f4223aed8a [stable/openvpn] Remove old README config for chart values (#5646)
When #5174 was merged, it brought back parts of the README that were
changed in #5489, resulting in unintentional duplicate documentation of chart
values.
2018-05-24 12:59:32 -07:00
Dan Wendorf 6489136aef [stable/openvpn] Optionally remove redirect-gateway config (#5174)
* [stable/openvpn] Optionally remove redirect-gateway config

It's not always desirable to have all traffic redirect over the VPN

* Update Chart.yaml
2018-05-17 21:43:51 -07:00
Valerio Coltrè b552477505 Enhance openvpn chart (#5489)
* openvpn: annotate config sha, to reboot services on configuration change

* openvpn: add externalIP support

* openvpn: remove default nodeport, that way it's auto-assigned

* openvpn: configuration revamp

* openvpn: removed non-working script

* openvpn: configuration reword

* openvpn: explicitly suggested how to disable kube-dns bridge

* openvpn: subPath is now optional
2018-05-17 11:05:51 -07:00
Dan Wendorf 1da75ed746 [stable/openvpn] Custom annotations for service (#5173)
* [stable/openvpn] Custom annotations for service

Allows, for example, specifying a custom domain name to external-dns.

* Update values.yaml
2018-05-11 01:08:04 -07:00
Dan Wendorf ef78db8024 [stable/openvpn] README scripts reflect new labels (#5402)
- Update readme instructions to work with the new labels introduced in
3.0.0.
- Quote bash variables to avoid word splitting
2018-05-09 23:46:53 -07:00
Dan Wendorf 5cef3e39fd [stable/openvpn] Add option to remove dhcp-option DOMAIN (#5404)
* [stable/openvpn] Add option to remove `dhcp-option DOMAIN`

Not all VPN clients support this option, so having the option to remove
it can prevent errors on client connections.

* Update Chart.yaml
2018-05-09 15:38:53 -07:00
Christian Budde Christensen b3dc4326b5 Add loadBalancerIP to OpenVPN (#5389) 2018-05-09 15:23:03 -07:00
Dan Wendorf 82d3c6f8d6 [stable/openvpn] service label selector match pod (#5460)
Fixes #5455
2018-05-09 13:14:52 -07:00
Dan Wendorf fbea3c479a [stable/openvpn] Update resource labels to latest best practices (#5175)
- All resources directly created have `app`, `chart`, `release`, and `heritage`
- Because deployment pod selectors are immutable in API version apps/v1,
  openvpn deployment pods no longer have chart version in `chart` to
  allow updating.
2018-05-04 09:13:52 -07:00
AdamDang db51c84fe0 Add appVersion key for openvpn (#4691)
The key "appVersion" is needed for ci testing, it's missing in this yaml. That sometimes will cause testing failure.
2018-04-04 18:07:08 -07:00
Alex Chistyakov 8b9f1b7ec5 Add a possibility to configure nodePort explicitly for OpenVPN (#3977)
* Add a possibility to configure nodePort explicitly for OpenVPN

* Version bump

* Check if .Values.service.type is "NodePort"

* Document the nodePort setting
2018-03-30 13:17:03 -07:00
Matt Farina 0bb92f96fe Adding OWNERS file for openvpn chart 2017-12-13 15:14:21 -05:00
Alexandre Cartapanis 59579658de Supports for existing volume claim (#2984)
Supports for existing volume claim
2017-12-11 17:38:19 +01:00