If intra-cluster communication needs to be encrypted, the pwm must provide https service with a certificate trusted by the ingress controller.
In order to achieve this I'd like to provide the TLS key/cert pair at pod runtime using a Secret of type "kubernetes.io/tls", coming a tls.crt
and tls.key
files, and ca.crt
secret for intermediate and root certificates.
Unfortunately, because of the current way certs are configured in pwm, I can't mount this secret to any pod folder and get the pair picked up by the container at runtime.
See https://kubernetes.github.io/ingress-nginx/examples/auth/client-certs/#creating-certificate-secrets