Giter Site home page Giter Site logo

Comments (9)

saturnism avatar saturnism commented on May 23, 2024 3

Had to use admin user w/ client cert to fetch the credential, then the errors went a way :/

CLOUDSDK_CONTAINER_USE_CLIENT_CERTIFICATE=True gcloud container clusters get-credentials ...

from old_issues_repo.

saturnism avatar saturnism commented on May 23, 2024 2

This needs to be re-opened. It seems like we may have lost it from the doc. Need to add admin user explicitly to the role binding:

kubectl create clusterrolebinding cluster-admin-binding --clusterrole=cluster-admin [email protected]

from old_issues_repo.

costinm avatar costinm commented on May 23, 2024

Yes, I think this is working as intended, granting permissions requires admin user. We may need to document it better ( or k8s RBAC docs should make it more obvious ).

from old_issues_repo.

yiakwy avatar yiakwy commented on May 23, 2024

@saturnism I encountered the same problem but I don't understand

CLOUDSDK_CONTAINER_USE_CLIENT_CERTIFICATE=True gcloud container clusters get-credentials

It is a not command. What are you talking about?

from old_issues_repo.

andraxylia avatar andraxylia commented on May 23, 2024

This is a gcloud command if you use GKE (Google Container Engine).

There have been many changes in RBAC since then, and it was fixed in the master. I suggest to take the latest istio-rbac-beta.yaml file from the master branch.

from old_issues_repo.

yiakwy avatar yiakwy commented on May 23, 2024

@andraxylia I am sure that

CLOUDSDK_CONTAINER_USE_CLIENT_CERTIFICATE=True gcloud container clusters get-credentials

Is NOT a valid gcloud command even you set

CLOUDSDK_CONTAINER_USE_CLIENT_CERTIFICATE=True

in a .bashprofile. the syntax is

"gcloud container clusters get-credentials" + some service name.

It was not clear.

from old_issues_repo.

yiakwy avatar yiakwy commented on May 23, 2024

Perhaps you might as well set

gcloud beta container clusters get-credentials
instead after set CLOUDSDK_CONTAINER_USE_CLIENT_CERTIFICATE=True.

from old_issues_repo.

ZackButcher avatar ZackButcher commented on May 23, 2024

Looks like this crept back with our 0.2 docs, we need to go restore this bit of info.

from old_issues_repo.

ldemailly avatar ldemailly commented on May 23, 2024

This is fixed in istio/istio.io#569
mentioned in https://istio.io/docs/setup/kubernetes/quick-start.html#prerequisites

from old_issues_repo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.