Coder Social home page Coder Social logo

Comments (6)

sbose78 avatar sbose78 commented on July 19, 2024

Yes! I've had demo fails because of this issue :)

From a security perspective, I've debated myself whether it's really an issue because if multiple people/things are sharing a namespace they already have access to a lot of things and therefore they probably should not be in the same namespace if that's an issue :) but I agree that things look different in a multi-tenant world!

If you do have multiple users in the same namespace, you could technically have RBAC setup to only create create secrets and edit service accounts?

Irrespective, maybe we should inspect the service account before every build run and clean it up :) ?

We could potentially have a spec.generateServiceAccount = true
( Or something along those lines ) ?

from build.

zhangtbj avatar zhangtbj commented on July 19, 2024

Yes, we already have the rBAC to control the sercret and sa creation.

But all secrets in one service account and include all docker registry infos but for different build process. I think it looks not good. :)

Yes, I agree to have a spec.generateServiceAccount.

But if spec.generateServiceAccount=true and end-user also set the ServiceAccount in buildRun now. What is the result?

Ignore which setting? I prefer to ignore the ServiceAccount setting in the buildRun and auto generate the new service account.

from build.

sbose78 avatar sbose78 commented on July 19, 2024

So, this breakaway from our usual principle of BuildRun overriding Build is to avoid letting people from breaking the law ;) ?

Sounds good to me!

from build.

zhangtbj avatar zhangtbj commented on July 19, 2024

em.... Good point!

I think we should follow the law, or the world will become mess. :)

So let me change:

  • If spec.generateServiceAccount=true and end-user also set the ServiceAccount in buildRun
  • We will choose to use the ServiceAccount which define in buildRun so that the end user can customize and override his build config from buildrun.

And I like it now. Thanks! :)

from build.

sbose78 avatar sbose78 commented on July 19, 2024

Haha okay! Go for it.

from build.

zhangtbj avatar zhangtbj commented on July 19, 2024

PR is merged: #105

from build.

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.