At the moment my kubernetes dashboard shows me that my session in insecure. I have updated the path at with I keep the dashboard certs (/root/certs/) and I need to know how to get kubernetes to use them.
I have tried to:
- Delete the secret
kubernetes-dashboard-certs
which deletes that secret successfully. - Add my new dashboard.crt & dashboard.key to /root/certs/ (readable by all)
- Created the secret again with
kubectl create secret generic kubernetes-dashboard-certs --from-file=/root/certs -n kubernetes
- Logged into dashboard and it still shows insecure (because the SSL cert is not being updated)