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

Use a pre-created ServiceAccount for workspace Pods

XMLWordPrintable

    • False
    • None
    • False
    • Hide
      = Configuring the service account used for running workspaces

      With this update, administrators can configure the service account used for all workspace Pods by adding a `.spec.devEnvironments.serviceAccount` field in the CheCluster custom resource.
      Show
      = Configuring the service account used for running workspaces With this update, administrators can configure the service account used for all workspace Pods by adding a `.spec.devEnvironments.serviceAccount` field in the CheCluster custom resource.
    • Enhancement
    • Done

      Workspace Pods SAs are created by the DevWorkspace controller at workspace creation. The request is to allow a Dev Spaces administrator to specify a pre-existing SA that will used be by the DevWorkspace operator when starting the workspaces:

      spec: 
        devEnvironments: 
          serviceAccount: devworkspace-sa # <== If not specified a new SA will be created for each workspace
                                                                   #          If specified the Dev Spaces operator should create it at namespace creation time
                                                                   #          If the developer namespace are pre-created by an admin, then the SA with the same name should be pre-created too (and the operator should not override it)
      

            amisevsk Angel Misevski
            mloriedo Mario Loriedo
            Fionn Kelleher Fionn Kelleher
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: