Kubernetes Namespace issue with bitbucket integrated Drone


I’m running DroneV1.6.1 with bitbucket. We could not run the pipeline for the personal repositories and getting the below error. Let me know how to resolve this issue.

ci-cd-docs-platform: Namespace "t5rb3bq13ca8u1fczkq67dl6n3tiwqgo" is invalid: metadata.labels: Invalid value: "~RANKUMA3": 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])?')


If you are experiencing this issue it would tell me you installed the legacy kubernetes integration instead of our new kubernetes runner. This typically happens when people try to install Drone using the charts in helm stable. These charts are not official (we are not involved with them) and they are pretty much broken. Please use gtaylor/drone-charts instead.