Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-1253

crwctl fails to install Codeready Workspaces 2.4 on fresh OCP 3.11 cluster

    XMLWordPrintable

Details

    • False
    • False
    • Undefined
    • Hide
      • Spin up a new openshift cluster (crc, cdk, minishift) or on PSI
      • Run `crwcrl server:start -a operator -p openshift`
      • It will seem like the installation is going well, until operator starts spitting out `cannot list resource "proxies"` error
      E0804 12:03:31.644149 1 reflector.go:134] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:196: Failed to list *v1.Proxy: proxies.config.openshift.io is forbidden: User "system:serviceaccount:tdancs-che:che-operator" cannot list resource "proxies" in API group "config.openshift.io" at the cluster scope
      Show
      Spin up a new openshift cluster (crc, cdk, minishift) or on PSI Run `crwcrl server:start -a operator -p openshift` It will seem like the installation is going well, until operator starts spitting out `cannot list resource "proxies"` error E0804 12:03:31.644149 1 reflector.go:134] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:196: Failed to list *v1.Proxy: proxies.config.openshift.io is forbidden: User "system:serviceaccount:tdancs-che:che- operator " cannot list resource "proxies" in API group "config.openshift.io" at the cluster scope

    Description

      Installation of Codeready Workspaces using crwctl on a fresly installed cluster fails without manually applying https://github.com/eclipse/che-operator/blob/master/deploy/cluster_role.yaml and https://github.com/eclipse/che-operator/blob/master/deploy/role.yaml

      $ oc apply --force=true --overwrite=true -f ~/Downloads/cluster_role_patch.yaml
       clusterrole.rbac.authorization.k8s.io/che-operator unchanged
      $ oc apply --force=true --overwrite=true -f ~/Downloads/role_patch.yaml
       role.rbac.authorization.k8s.io/che-operator configured

      Attachments

        Activity

          People

            abazko Anatolii Bazko
            tdancs Tibor Dancs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: