I have create two secret docker-registrys using with these step:
$ kubectl create secret docker-registry my-secret --docker-username=burak --docker-password=deniz --docker-email=burak@...
$ kubectl create secret docker-registry secret --docker-username=burak --docker-password=deniz --docker-email=burak@...
After these step I tried to get deployment with using that:
$ kubectl get deployment
and I have faced to that ERROR:
Unable to connect to the server: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "minikubeCA")
and When I have tried to delete or get these secret docker-registrys,I faced to same Error.
How Can I delete these docker-registrys. Can you help me?.
Thank you for your answers.
I had the problem, I used the following steps to delete docker-secrets.
$kubectl get secrets
$kubectl delete secrets mydockercredentials
use the above command to delete secrets.