-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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 do you enable SSL Passthrough in the ingress deployment #6403
Comments
Can't answer your question, but I can offer a workaround: If you are using Helm 3, add stable repo Install nginx ingress controller with "ssl-passthrough" enabled
You could do this without Helm too, but you get the point. |
I also get the feeling like you are trying to run Strimzi kafka on minikube with ingress external like I did, so here's a working example just in case: Install strimzi operator. Apply a kafka cluster configuration with ingress external, TLS and some user:
Extract ca-cert & my-user cert:
Create truststore & keystore (use any or no password):
Use the following configs when connecting to the cluster (use 443 port):
|
If there are any ingress experts in the house, it'd be wonderful to see a tutorial written up for this similar to: https://minikube.sigs.k8s.io/docs/tutorials/nginx_tcp_udp_ingress/ |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
If you find yourself in this situation, I was able to solve it with minikube via... minikube kubectl -- patch deployment -n ingress-nginx ingress-nginx-controller -p='{"spec":{"template":{"spec":{"containers":[{"name":"controller","args":["/nginx-ingress-controller","--ingress-class=nginx","--configmap=$(POD_NAMESPACE)/ingress-nginx-controller","--report-node-internal-ip-address","--tcp-services-configmap=$(POD_NAMESPACE)/tcp-services","--udp-services-configmap=$(POD_NAMESPACE)/udp-services","--validating-webhook=:8443","--validating-webhook-certificate=/usr/local/certificates/cert","--validating-webhook-key=/usr/local/certificates/key","--enable-ssl-passthrough"]}]}}}}' Which just patches the deployment of the ingress-nginx-controller with an extra argument It seems it also auto-redeploys after a patch, so it should pop back up fairly quick after the patch! |
I've done it using kubectl patch deployment -n ingress-nginx ingress-nginx-controller --type='json' \
-p='[{"op": "add", "path": "/spec/template/spec/containers/0/args/-", "value":"--enable-ssl-passthrough"}]' |
You can just enable it from values.yaml
|
Hi, I am trying to enable ingress on minikube and then allow --enable-ssl-passthrough
I have tried editing the deployment with kubectl
I have tied patching the deployment
but everything I try results in no changes to the underlying resource.
My question is, is ssl passthrough even possible on the version of ingress that comes as an addon to minikube and if so how do you do it.
I would really appreciate the help.
Thanks,
Paul
The text was updated successfully, but these errors were encountered: