pieterlange / kube-openvpn

:closed_lock_with_key: Kubernetes native OpenVPN
MIT License
383 stars 57 forks source link

Fix the CN and port match extraction #52

Closed ankon closed 6 years ago

ankon commented 6 years ago

The indices were off, leading to empty values for CN and a leading ':' for the port variable.

NB: These variables are unused in entrypoint.sh, but I still left them in for now.

pieterlange commented 6 years ago

Ouch, i broke that last weekend while trying to be more flexible with the regex for https://github.com/pieterlange/kube-openvpn/issues/48.

Thanks!