Giter VIP home page Giter VIP logo

Comments (8)

fanminshi avatar fanminshi commented on May 9, 2024

@hasbro17 should those be auto-generated and managed by operator-sdk?

from operator-sdk.

hasbro17 avatar hasbro17 commented on May 9, 2024

Yeah I was thinking they could be generated by operator-sdk in deploy/rbac.yaml. And then the user just creates them before creating deploy/operator.yaml

from operator-sdk.

fanminshi avatar fanminshi commented on May 9, 2024

kk, maybe operator-sdk new can create both deploy/rbac.yaml and deploy/crd.yaml. then let operator-sdk build to create operator.yaml.

from operator-sdk.

hasbro17 avatar hasbro17 commented on May 9, 2024

Yeah rbac.yaml and crd.yaml only need to be generated once(unlike operator.yaml which has the image field) so we can do them as part of operator-sdk new.

from operator-sdk.

fanminshi avatar fanminshi commented on May 9, 2024

alright. let's just implement what we have discussed

from operator-sdk.

hasbro17 avatar hasbro17 commented on May 9, 2024

@fanminshi please update here once you have confirmed if RBAC setup is necessary for default or any other namespace on Minikube.
We'll decide whether or not RBAC setup is strictly required in the README after that.

from operator-sdk.

hongchaodeng avatar hongchaodeng commented on May 9, 2024

whether or not RBAC setup is strictly required in the README

If RBAC setup is strictly required on Minikube, SDK had better generate them for users.

from operator-sdk.

hasbro17 avatar hasbro17 commented on May 9, 2024

Seems like minikube requires RBAC setup. So the SDK will now generate deploy/rbac.yaml whose contents are as I've listed in my first comment.
And then we need to add a step in the README to tell the user to create deploy/rbac.yaml before creating deploy/operator.yaml.

from operator-sdk.

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.