You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I edited the cr.yaml to add a few more targets, at start up the tc8-operator pod log reported: Unable to continue with install: could not get information about the resource:
clusterrolebindings.rbac.authorization.k8s.io "turbo-all-binding"
is forbidden:
User "system:serviceaccount:turbonomic:t8c-operator" cannot get resource "clusterrolebindings" in API group "rbac.authorization.k8s.io" at the cluster scope","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.10.0/pkg/internal/controller/controller.go:227"}
I found I had to do both commands below to get past this:
oc adm policy add-scc-to-group anyuid system:serviceaccounts:turbonomic
oc create clusterrolebinding turbonomic-admin --clusterrole=cluster-admin --serviceaccount=turbonomic:t8c-operator
The text was updated successfully, but these errors were encountered:
I edited the cr.yaml to add a few more targets, at start up the tc8-operator pod log reported:
Unable to continue with install: could not get information about the resource:
clusterrolebindings.rbac.authorization.k8s.io "turbo-all-binding"
is forbidden:
User "system:serviceaccount:turbonomic:t8c-operator" cannot get resource "clusterrolebindings" in API group "rbac.authorization.k8s.io" at the cluster scope","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.10.0/pkg/internal/controller/controller.go:227"}
I found I had to do both commands below to get past this:
oc adm policy add-scc-to-group anyuid system:serviceaccounts:turbonomic
oc create clusterrolebinding turbonomic-admin --clusterrole=cluster-admin --serviceaccount=turbonomic:t8c-operator
The text was updated successfully, but these errors were encountered: