Giter Site home page Giter Site logo

Comments (7)

ecordell avatar ecordell commented on May 30, 2024 2

Hi @darkowlzz, support for creating ClusterRoles is coming very soon (~1wk).

from operator-lifecycle-manager.

wongma7 avatar wongma7 commented on May 30, 2024 1

NVM about the name, I see now it doesn't change the manifest...asked because I noticed the roles created by OLM have some generated part at the end.

from operator-lifecycle-manager.

ecordell avatar ecordell commented on May 30, 2024

See #477 for progress here

from operator-lifecycle-manager.

ecordell avatar ecordell commented on May 30, 2024

Forgot to come back and update this - ClusterRole support is in via the clusterPermissions block on the CSV.

from operator-lifecycle-manager.

wongma7 avatar wongma7 commented on May 30, 2024

this isn't working for me, any tips to debug? Added clusterPermissions to my csv, the field gets validated, but no clusterRoles nor clusterRoleBindings get created and installation proceeds then fails since the permissions aren't there. olm logs show nothing interesting: I tried grepping for this line

log.Infof("CSV %s permission met: %t", csv.GetName(), permissionsMet)
but found nothing

from operator-lifecycle-manager.

njhale avatar njhale commented on May 30, 2024

@wongma7 Are you installing your CSV via InstallPlan or by manually creating it? Creation of both permissions and clusterPermissions are now created via InstallPlans. Creating a CSV with permissions manually will only check if listed permissions (or RBAC equivalent permissions) exist.

from operator-lifecycle-manager.

wongma7 avatar wongma7 commented on May 30, 2024

@njhale I'm manually creating it. So if I am understanding correctly, the InstallPlan would tell the Catalog Operator to create the clusterrole and clusterrolebinding the same way it can tell the Catalog Operator to create a CRD? will the clusterrole and clsuterrolebinding have a deterministic name so that i can make them required in my CSV?

from operator-lifecycle-manager.

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.