Skip to content

Service Account csidrivers permissions #296

Description

@gfvirga

Using trident-installer-19.07.1 to install trident backend in openshift 4.2, we are getting the following error.

FATA Install failed; could not create the Kubernetes CSI Driver object; could not delete csidriver custom resource; csidrivers.storage.k8s.io "csi.trident.netapp.io" is forbidden: User "system:serviceaccount:trident2:trident-installer" cannot delete resource "csidrivers" in API group "storage.k8s.io" at the cluster scope. Resolve the issue; use 'tridentctl uninstall' to clean up; and try again

I was able to bypass the error by giving full cluster admin while the installer is going with the command oc adm policy add-cluster-role-to-user cluster-admin system:serviceaccount:trident:trident-installer I could not figure out which permission it was lacking in RBAC.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions