Skip to content

PVC issue whith names that begin with an accent #2988

Open
@antonio-tg

Description

@antonio-tg

Hi everyone,

I'm from México, I'm deploying jupyterhub in an Openshift cluster and I get this issue with one user

HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"PersistentVolumeClaim "jupyterhub-claim--c3-a1lvaro-20hern-c3-a1ndez-20valdes" is invalid: metadata.labels: Invalid value: "-c3-a1lvaro-20hern-c3-a1ndez-20valdes": a valid label must be an empty string or consist of alphanumeric characters, '-', '' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9.])?[A-Za-z0-9])?')","reason":"Invalid","details":{"name":"jupyterhub-claim--c3-a1lvaro-20hern-c3-a1ndez-20valdes","kind":"PersistentVolumeClaim","causes":[{"reason":"FieldValueInvalid","message":"Invalid value: "-c3-a1lvaro-20hern-c3-a1ndez-20valdes": a valid label must be an empty string or consist of alphanumeric characters, '-', '' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9.])?[A-Za-z0-9])?')","field":"metadata.labels"}]},"code":422}

The problem is that the name of the user begins with Á and this doesn't match with the regex so I would like your help to know how edit the PVC names of the user's.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions