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.
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-installerI could not figure out which permission it was lacking in RBAC.