Uploaded image for project: 'Open Data Hub'
  1. Open Data Hub
  2. ODH-572

JSP profile selection based on imagestream:tag names fail when notebook_destination is set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • JupyterHub
    • None

      JSP profiles that use IMAGESTREAM:TAG names for profile selection fail when `notebook_destination` is set due to JupyterHub pulling the fully qualified imagestream:tag
      `image-registry.openshift-image-registry.svc:5000/<NOTEBOOK_DESTINATION>/<IMAGESTREAM:TAG>
      `

      # Custom JSP profile to confirm if env var is applied when selection based on IMAGESTREAM:TAG and notebook_destination=<NAMESPACE>
      apiVersion: v1
      kind: ConfigMap
      metadata:
        name: jupyter-singleuser-profiles-test
        labels:
          jupyterhub: singleuser-profiles
      data:
        jupyterhub-singleuser-profiles.yaml: |
            profiles:
              - name: Test Profile Selection By Image
                images:
                - 's2i-minimal-notebook:v0.0.15'
                env:
                  - name: TEST_NOTEBOOK_DESTINATION_ENV
                    value: 'THIS DOES NOT EXIST WHEN notebook_destination=<JH SERVER NAMESPACE>'
      

       

              vpavlin@redhat.com Vaclav Pavlin (Inactive)
              llasmith@redhat.com Landon LaSmith
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: