GithubHelp home page GithubHelp logo

Comments (6)

hsluoyz avatar hsluoyz commented on June 15, 2024

@ashish493 can we use this repo to do the authz task for KubeSphere ?

from k8s-authz.

ashish493 avatar ashish493 commented on June 15, 2024

@hsluoyz, yes we can use this repo to do the authz task in kubesphere, but since at present, our repo provides authz for only the operations for pods, I doubt whether it would be highly functional enough for them to integrate it. I will create issues related to it for the addition of features such as to extend the authz for clusters and namespaces of k8s. Let me know what do you think.

Updates related to previous work:-

  • I have changed the logo to a transparent background as asked in my fork.
  • I will be adding the tests in a day or two.

from k8s-authz.

hsluoyz avatar hsluoyz commented on June 15, 2024

@ashish493 sounds good! We aim to be a complete authz solution for k8s and its ecosystem. When it's ready, I will promote this project to kubesphere owners for adoption. You can also send small size PRs at times to this origin repo, so we can know its status better.

from k8s-authz.

ashish493 avatar ashish493 commented on June 15, 2024

Thanks @hsluoyz , I will try my best to complete it and make it a successful project.

from k8s-authz.

ashish493 avatar ashish493 commented on June 15, 2024

@hsluoyz , There are various resources in k8s such as pods, jobs, services, endpoints. These resources each have their own operations get,list,watch,create,patch,update,read and much more.
As of now, our authz supports only create,update,delete,connect and for only one resource which is for pods. I can easily extend its operations to all existing operations by changing a single line. These operations can be easily defined on the casbin policies like this :
p, role:reader, read
p, role:writer, write

But my doubt is that, how can I define those operations and roles for a different resource in casbin?
Likw do we have to create a separate policy file or something?

from k8s-authz.

hsluoyz avatar hsluoyz commented on June 15, 2024

Done at: https://github.com/casbin/kubesphere-authz

from k8s-authz.

Related Issues (15)

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.