Enabling SSL Passthrough

I am relatively new to Kubernetes, so please pardon me ahead of time for any terminology I might use incorrectly and/or any other fundamental misunderstandings I probably have.

I need to be able to get access to the client certificates in my REST tier and it seems this is the purpose of the --enable-ssl-passthrough argument for the ingress controller. The problem is, I have not been able to figure out how to enable this in microk8s. I was able to locate two files on my system that appear to be used when I run the command microk8s enable ingress:

/var/lib/snapd/snap/microk8s/2339/actions/ingress.yaml
/var/lib/snapd/snap/microk8s/2339/microk8s-resources/actions/ingress.yaml

These two files appear to be identical; however, I am unable to modify either of them because they’re read-only (not even root can modify them).

What is the proper way to enable SSL passthrough for my ingress controller in a microk8s environment?

Hi @senfo, try first microk8s enable ingress and then microk8s kubectl edit the ingress deamonset and add the argument there.

1 Like