Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable setting different service type for web interface and using existing PVC for persistence. #60

Merged
merged 2 commits into from Jul 18, 2020

Conversation

nqngo
Copy link
Contributor

@nqngo nqngo commented Jul 14, 2020

I am using wg-access-server with MetalLB-BGP. Currently, the web interface service type is only ClusterIP. This change enables setting the web service type LoadBalancer.

In addition, the change also enables using an existing claim for persistence instead of creating it on deployment time.

Enable using existing pvc for persistence.
@Place1
Copy link
Owner

Place1 commented Jul 15, 2020

Hey @nqngo, thanks for the PR.

I actually didn't add support for using a loadbalanced service for the web service because wg access server is an http server without TLS. Exposing it via a loadbalancer is not a secure option for general users where a loadbalancer is typically routing a public IP.

Would you be ok adding a note of this in the chart README? I don't really want to support TLS in wg-access-server directly because I believe most users will be making use of a TLS terminating ingress controller or other existing reverse-proxy infra that they have.

Add comment on security implication of using LoadBalancer for web server.
@nqngo
Copy link
Contributor Author

nqngo commented Jul 16, 2020

Pretty sensible. I updated the README with the comment.

@Place1 Place1 merged commit 4959dc0 into Place1:master Jul 18, 2020
@Place1
Copy link
Owner

Place1 commented Jul 18, 2020

@nqngo cheers for the contribution! i've released this as 0.2.3

You should be able to pull the updated chart now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants