Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

In template-jupyterhub.yaml should be dictionary for subjects #5

@rgr19

Description

@rgr19

Correct would be

- apiVersion: authorization.openshift.io/v1
  kind: RoleBinding
  metadata:
    name: ${APPLICATION_NAME}-edit
    labels:
      app: ${APPLICATION_NAME}
  subjects:
    - kind: ServiceAccount
      name: jupyter

Otherwise I had error:

$OC -n datascience apply -f ./config/template-jupyterhub.yaml && $OC -n datascience new-app --template jupyterhub --param APPLICATION_NAME=jupyter --dry-run
template.template.openshift.io/jupyterhub configured
error: error processing template "datascience/jupyterhub": v1.RoleBinding.Subjects: decode slice: expect [ or n, but found {, error found in #10 byte of ...|"jupyter"}}|..., bigger context ...|bjects":{"kind":"ServiceAccount","name":"jupyter"}}|...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions