I am evaluating Drone v1 on K8s with K8s controller, coupled with Bitbucket Server (Stash).
Everything works, thank you.
I just found that issue when I am using a personal repository:
default: Namespace "vijy52g2w6y8g4nxsbaeesrywpjwv02r" is invalid: metadata.labels: Invalid value: "~MARCOUJ": 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])?')
Indeed, bitbucket use this (ugly) structure
~[USERNAME] as project name.
I would suggest to protect the NS label to match K8s validations.