Skip to content

Consider using kubebuilder tools for generating RBAC #152

@BlaineEXE

Description

@BlaineEXE

Enhancement

Why is this needed?:

Kubebuilder can generate RBAC for controllers automatically using // +kubebuilder:rbac:groups comments in controller code.

Currently, default versions of these comments are present already in controller/sidecar internal/ code, but they are not set up to auto-generate any files.

Describe the solution you'd like in detail:

The COSI project should decide what to do with the existing comments.

Should COSI use them to generate RBAC files? If so, let's set this up.

If not, I believe we should remove them so that they don't grow outdated over time.

Describe alternatives you've considered:

Additional context:

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.priority/backlogHigher priority than priority/awaiting-more-evidence.

    Type

    No type

    Projects

    Status

    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions