Skip to content

[Tracker]: Default-less Storage Class DS Project #1919

@andrewballantyne

Description

@andrewballantyne

Description

When we do not have a default (annotation storageclass.kubernetes.io/is-default-class: 'true') value on a StorageClass in the cluster, DS Projects just fail, no way around it.

We have a desire to support full set of storage classes, admin UI and the ability to override an existing default on the cluster and prefer a different one for ODH. That's tracked under:

This effort should only deal with a gap today, where your cluster has no default.

Target Branch

f/storage-class

Requirements

  • List all storage classes (all users should have access RBAC wise)
  • Look for a default storage class
    • if one is found, do nothing (continue with the flow today)
    • If one is not found, read the spec.notebookController.storageClassName value
      • if set & in the list, use it on the name on the PVC
      • if not set, do nothing (continue with the flow today)
      • if set & not in the list, print an error to the dev console console.error(...) and do nothing else (continue with the flow today)

Itemized UX Issues

N/A -- Entirely under the hood.

Itemized Dev Issues

Related artifacts

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    communityfeature/storage-classesStorage Classes featuretrackerNon-completable ticket; used for tracking work - akin to a Jira Epic

    Type

    No type

    Projects

    Status

    No status

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions