Search code examples
reactjsgoogle-chromekubernetesssl-certificatekubernetes-ingress

Accessing Kubernetes Cluster through ingress-nginx as proxy from react app running on localhost


Apologies if this question is asked before, am new to Kubernetes

Am trying to access the k8s cluster through ingress-nginx as proxy running on my machine, through react app running on localhost

enter image description here

enter image description here

Am getting NET::ERR_CERT_AUTHORITY_INVALID Error in my browser.

I tried this but didn't worked.

How can I get around this?

Thank You.


Solution

  • If you don't install a real TLS certificate, you're just getting the default, self-signed one that the ingress controller includes as a fallback. Check out cert-manager for a path forward or just ignore the error for now (but probably don't ignore it, that's bad).