-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
None
I was trying to update CodeReady version to 1.2 in Integreatly. We deploy CodeReady as follows:
cd /tmp/code-ready && OPENSHIFT_PROJECT={{ che_namespace }} ./installer.sh --deploy --operator-image=registry.redhat.io/codeready-workspaces/server-operator-rhel8:1.2 --server-image=registry.redhat.io/codeready-workspaces/server-rhel8:1.2"
When the installer.sh script is https://raw.githubusercontent.com/redhat-developer/codeready-workspaces-deprecated/1.2.0.GA/operator-installer/deploy.sh.
Problem is that the operator is not able to start correctly because of:
0624 10:59:28.143374 1 reflector.go:134] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:126: Failed to list *v1.ServiceAccount: serviceaccounts is forbidden: User "system:serviceaccount:codeready:codeready-operator" cannot list serviceaccounts in the namespace "codeready": RBAC: role.rbac.authorization.k8s.io "codeready-operator" not found E0624 10:59:29.138036 1 reflector.go:134] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:126: Failed to list *v1.Deployment: deployments.apps is forbidden: User "system:serviceaccount:codeready:codeready-operator" cannot list deployments.apps in the namespace "codeready": RBAC: role.rbac.authorization.k8s.io "codeready-operator" not found E0624 10:59:29.138637 1 reflector.go:134] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:126: Failed to list *v1.Secret: secrets is forbidden: User "system:serviceaccount:codeready:codeready-operator" cannot list secrets in the namespace "codeready": RBAC: role.rbac.authorization.k8s.io "codeready-operator" not found E0624 10:59:29.139083 1 reflector.go:134] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:126: Failed to list *v1.ConfigMap: configmaps is forbidden: User "system:serviceaccount:codeready:codeready-operator" cannot list configmaps in the namespace "codeready": RBAC: role.rbac.authorization.k8s.io "codeready-operator" not found E0624 10:59:29.139600 1 reflector.go:134] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:126: Failed to list *v1.Role: roles.rbac.authorization.k8s.io is forbidden: User "system:serviceaccount:codeready:codeready-operator" cannot list roles.rbac.authorization.k8s.io in the namespace "codeready": RBAC: role.rbac.authorization.k8s.io "codeready-operator" not found