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

Add support for more origin service configuration #67

Closed

Conversation

UnstoppableMango
Copy link
Contributor

@UnstoppableMango UnstoppableMango commented Dec 26, 2023

Adds support for a few more origin service settings via annotations similar to proxy ssl verify.

https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/configure-tunnels/origin-configuration/

I tried to follow the existing conventions, but I did make a minor refactor around ProxySSLVerify/NoTLSVerify. Let me know if there's anything you want changed!

I believe this should resolve #11 and #16

@UnstoppableMango
Copy link
Contributor Author

I completely forgot the certificate mounting portion... be right back!

@UnstoppableMango
Copy link
Contributor Author

Ok, I've updated with the ability to mount certificates from either secrets or config maps. I went with CLI options to provide a more opinionated out-of-the-box configuration, but perhaps its better to allow arbitrary volume mounts in the controlled container? That might make it easier to integrate with i.e. the cert-manager CSI.

Let me know if you'd like any changes!

@UnstoppableMango UnstoppableMango force-pushed the origin-ca-pool branch 2 times, most recently from 2c24a4e to 8960062 Compare January 9, 2024 22:36
@UnstoppableMango UnstoppableMango force-pushed the origin-ca-pool branch 2 times, most recently from 3c99559 to 4f2a173 Compare June 1, 2024 20:58
Integration tests

WIP adding config map/secret mounting

Properly pass CaPool values

Refactoring and cleanup

Revert imports moving around

Not sure why that happened

Refactor to just forward controller volume mounts

I gave this some more thought and I think just letting consumers mount volumes to the controller and then forward those to the cloudflared pod would be better. Curious what you think!

Rebase conflict
@UnstoppableMango UnstoppableMango deleted the origin-ca-pool branch June 3, 2024 14:26
@UnstoppableMango UnstoppableMango restored the origin-ca-pool branch June 3, 2024 14:26
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.

Enhancement: TLS Upstream
1 participant