Dear experts of Rancher.
I have a Rancher 2.1 (standard docker image) with a kubernates cluster inside. Then I created one kubernates namespace. Now, I want to use want to access this namespace per CURL by using API of kubernates with CURL and bearer token. I follow the advises in https://kubernetes.io/docs/tasks/administer-cluster/access-cluster-api/.
But always I receive the error HTTP-401: you must authenticate.
Do you have an idea, what am I doing wrong?
Thanks a lot!
JeMo