Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-5087

Missing access to scc container-build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • None
    • None
    • NEW

      Description of problem:

      Creating a devspace from

      https://github.com/cloud-native-robotz-hackathon/starter-app-python/blob/master/devfile.yaml

      And it failed with:

       

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

      Steps to Reproduce

       # <steps>

       

      Actual results:

      Expected results:

      it should start

      Reproducibility (Always/Intermittent/Only Once):

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

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

       

      Work-a-round:

      apiVersion: rbac.authorization.k8s.io/v1
      kind: ClusterRole
      metadata:
        name: system:openshift:scc:container-build
      rules:
      - apiGroups:
        - security.openshift.io
        resourceNames:
        - container-build
        resources:
        - securitycontextconstraints
        verbs:
        - use
      ---
      apiVersion: rbac.authorization.k8s.io/v1
      kind: ClusterRoleBinding
      metadata:
        name: system:openshift:scc:container-build
      roleRef:
        apiGroup: rbac.authorization.k8s.io
        kind: ClusterRole
        name: system:openshift:scc:container-build
      subjects:
      - kind: ServiceAccount
        name: devworkspace-controller-serviceaccount
        namespace: openshift-operators 

       *

              Unassigned Unassigned
              rbohne Robert Bohne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: