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

[RN] Cannot create Kubernetes/Openshift Components from Devfile

    XMLWordPrintable

Details

    • False
    • None
    • False
    • Release Notes
    • Hide
      = Creating a workspace from a devfile with Kubernetes and Openshift components

      Before this update, there was an issue affecting devfiles with Kubernetes and OpenShift components that caused workspace creation to fail. With this update, the issue is fixed.

      Show
      = Creating a workspace from a devfile with Kubernetes and Openshift components Before this update, there was an issue affecting devfiles with Kubernetes and OpenShift components that caused workspace creation to fail. With this update, the issue is fixed.
    • Bug Fix
    • Done

    Description

      Description of problem:

      Creating a workspace from a devfile containing kubernetes/openshift resources results into a constant failure. In particular it appears the OpenShift "admission webhook mutate.devworkspace-controller.svc" denied the request for creating the resources from the devfile (attached in this issue)

       

      Unable to create devworkspace: admission webhook "mutate.devworkspace-controller.svc" denied the request: user cGxyTuk9R6ccp0Jv7nIJgC2ouAxINVwmCfpSNXSf3Qg does not have permissions to work with objectUnable to create devworkspace: admission webhook "mutate.devworkspace-controller.svc" denied the request: user cGxyTuk9R6ccp0Jv7nIJgC2ouAxINVwmCfpSNXSf3Qg does not have permissions to work with objects of kind /v1, Kind=Pod defined in component nginxs of kind /v1, Kind=Pod defined in component nginx

       

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. https://github.com/devfile/devworkspace-operator/issues/1049

      Actual results:

      Expected results:

      Reproducibility (Always/Intermittent/Only Once):

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

      *[^devfile.yaml]
      Slack*

      Attachments

        Activity

          People

            jvrbkova@redhat.com Jana Vrbkova
            jvrbkova@redhat.com Jana Vrbkova
            Jana Vrbkova Jana Vrbkova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: