cloudflare-tunnel-ingress-controller icon indicating copy to clipboard operation
cloudflare-tunnel-ingress-controller copied to clipboard

Add support for more origin service configuration

Open UnstoppableMango opened this issue 1 year ago • 2 comments

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 avatar Dec 26 '23 03:12 UnstoppableMango

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

UnstoppableMango avatar Dec 26 '23 03:12 UnstoppableMango

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 avatar Jan 07 '24 19:01 UnstoppableMango