-
Notifications
You must be signed in to change notification settings - Fork 71
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
How to set backend-protocol: "HTTPS" #91
Comments
Hi, it's not something possible for now, should be feasible though The thing I don't know yet, is how to handle TLS verification. |
@Embraser01 , thanks for clarifying. Sorry, one more thing. When I install caddy via helm, is there any setting that can be used to select/set a load balancer ip. The reason I ask is that on GKE, caddy defaulted to using the ephemeral IP of the cluster. I tried editing it to a reserved static IP but that did not work either. But ya, apart from these 2 issues, it's been pretty awesome so far. |
Do you mean the status If you mean the possibility of specifying the |
Hmmm, I don't think the IP status of Ephemeral is advertised to Kubernetes. It's more of a cloud provider thing I guess. I used If we can figure out why manually setting it did not work and solve that first, I can then provide a PR to the template. I'd also be glad to contribute to the docs around GKE setup too. |
Looking back at this issue, HTTPS services should kinda work because the 443 port on the service should make caddy use https automatically. It's probably the certificate validity of the kubernetes-dashboard that is self-signed ?
|
@Embraser01 , yes, from here
With NGINX, The annotation The alternative is to create a secret using custom certs and modify the deployment, which will be good to document. |
Ok, thanks, found the Nginx ingress controller config for that: https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#backend-certificate-authentication It will take some work to make it fully work but it should be fairly easy to make it work with verification disabled (default in nginx) |
Awesome + Thanks. Keen to try it out when it is ready and also happy to contribute to some GKE specific docs. |
Hi,
Thanks for maintaining this repo.
I am trying to use caddy ingress to expose the kubernetes dashboard.
With nginx, this annotation is needeed in the ingress:
Whats the equivalent for Caddy's ingress?
I am on GKE 1.22.8.
My ingress definition looks something like this:
Thanks.
The text was updated successfully, but these errors were encountered: