Skip to content

Unable to continue with install: could not get information about the resource ClusterRole #355

@rlevytskyi

Description

@rlevytskyi

Hello Team,
I have an issue installing DevLake with Helm to our PROD cluster.

Running
helm install -f devlake.yml devlake devlake/devlake --version=1.0-beta1 --set lake.encryptionSecret.secret=$ENCRYPTION_SECRET --set grafana.adminPassword=$ADMIN_PW
ends with
Error: INSTALLATION FAILED: Unable to continue with install: could not get information about the resource ClusterRole "devlake-grafana-clusterrole" in namespace "": clusterroles.rbac.authorization.k8s.io "devlake-grafana-clusterrole" is forbidden: User "<my username here>" cannot get resource "clusterroles" in API group "rbac.authorization.k8s.io" at the cluster scope

In production, in our k8s cluster user is not allowed to create roles.

Reading manual and values.yml didn't give me a clue if RBAC can be disabled.

Grepping the code for "rbac" didn't return any result either.

Could you please clarify if it's possible to install to the cluster where user are not allowed to create roles?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions