Giter VIP home page Giter VIP logo

Comments (6)

dkerwin avatar dkerwin commented on July 20, 2024

Hi Amet,

Your configuration looks pretty fine to me. Please have a look at the API server logs. I'm pretty sure there are some hints in there. My guess would be something like missing CA certificates.

Cheers!
Daniel

from dexter.

 avatar commented on July 20, 2024

Thank you very much.
Yes, it was a problem with my apiserver.

from dexter.

dkerwin avatar dkerwin commented on July 20, 2024

Glad it works now. Do you mind sharing what caused the problem and how you fixed it? Will be helpful to others looking for help. Thanks!

from dexter.

 avatar commented on July 20, 2024

Sure.
My APIServer config wasn't valid I guess:

    authorizationMode: RBAC
    authorizationRbacSuperUser: admin
    oidcCAFile: /srv/kubernetes/ca.crt
    oidcClientID: ${ID}
    oidcIssuerURL: https://accounts.google.com
    oidcUsernameClaim: email
    runtimeConfig:
      rbac.authorization.k8s.io/v1alpha1: "true"

I changed it on:

    oidcClientID: ${ID}
    oidcIssuerURL: https://accounts.google.com
    oidcUsernameClaim: email

from dexter.

dkerwin avatar dkerwin commented on July 20, 2024

So the CA seems to be the problem. This will have to be the CA for the certificate used by google in this case and not the internal CA. If you don't specify it the API will use the CA certificates installed in your OS. Thanks for sharing this

from dexter.

 avatar commented on July 20, 2024

Yep. Thank you for help.
Could you advice me about minimal kubectl config, or how to bootstrap it?
We want to use dexter for creating creds for our developers, who have no any kubectl config.

from dexter.

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.