Skip to content

Convert cluster scoped RBAC to namespace scoped #1393

@Gregory-Pereira

Description

@Gregory-Pereira

In the llm-d project we have a strong interest in driving multi-tenancy, and to enable multiple installations per cluster. We currently fight quite a bit with helm in this regard:

STDERR:
  Error: Failed to render chart: exit status 1: Error: Unable to continue with install: ClusterRole "gaie-inference-scheduling-epp" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key "meta.helm.sh/release-namespace" must equal "llm-d-inference-scheduler": current value is "llm-d-inference-scheduling"
  Error: plugin "diff" exited with error

COMBINED OUTPUT:
  Error: Failed to render chart: exit status 1: Error: Unable to continue with install: ClusterRole "gaie-inference-scheduling-epp" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key "meta.helm.sh/release-namespace" must equal "llm-d-inference-scheduler": current value is "llm-d-inference-scheduling"

I propose we convert these ClusterRole and ClusterRoleBinding to namespace scoped RBAC.

cc @ahg-g @kfswain @nirrozenbaum

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions