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

OpenShift OAuth disabled when deploying with crwctl

    XMLWordPrintable

Details

    • False
    • False
    • Undefined
    • Workaround Exists
    • Hide
      crwctl server:start --che-operator-cr-patch-yaml=operator-cr-patch.yaml
      

      where operator-cr-patch.yaml:

      spec:
        auth:
          openShiftoAuth: true
      
      Show
      crwctl server:start --che- operator -cr-patch-yaml= operator -cr-patch.yaml where operator-cr-patch.yaml : spec: auth: openShiftoAuth: true

    Description

      Option --os-auth has been removed in crwctl 2.4 and OpenShift OAuth should be enabled by default.

      But when I try to deploy CRW 2.4 using the following command

      crwctl server:start \
           --platform=openshift \
           --installer=olm \
           -n workspaces-server
      

      OpenShift OAuth is not enabled:

      $ oc get -o json checluster codeready-workspaces -n workspaces-server | jq .spec.auth.openShiftoAuth
      false
      

      Tried on OCP 4.5.13 with htpasswd identity provider enabled.

      Attachments

        Issue Links

          Activity

            People

              nickboldt Nick Boldt
              mloriedo Mario Loriedo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: