Hello,
i’m trying to start a microk8s instance on a LXD machine, following this docs (https://microk8s.io/docs/install-lxd), every thing seems working fine.
When i try to expose the dashboard service via microk8s dashboard-proxy
i receive the error:
error: error upgrading connection: error dialing backend: tls: failed to verify certificate: x509: certificate is valid for 10.11.5.106, not 10.1.128.192
where 10.11.5.106
is the ip address of my LXD container.
I tried to add all the IP address in the csr.conf.template
file and to restart microk8s, also tried to execute sudo microk8s refresh-certs --cert ca.crt
and sudo microk8s refresh-certs --cert server.crt
as found in other topics but nothing changes.
Any insight is appreciated!