Error: UPGRADE FAILED: cannot patch "my-artifactory-artifactory-ha-primary" with kind StatefulSet: StatefulSet.apps "my-artifactory-artifactory-ha-primary" is invalid: metadata.labels: Invalid value: "5001/my-custom-repo": 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])?')
Is this a request for help?:
Is this a BUG REPORT or FEATURE REQUEST? (choose one): Bug report
Version of Helm and Kubernetes: Helm Version:
K8s version: N/A
Which chart: stable/artifactory-ha
Which product license (Enterprise/Pro/oss): Enterprise
JFrog support reference (if already raised with support team): None
What happened: Using chart with a docker registry on non-standard port creates invalid statefulset metadata labels
What you expected to happen: I expect it to be able to handle registries that don't run on the default port.
How to reproduce it (as minimally and precisely as possible): values.yaml
Helm Dry run output:
Helm Upgrade error:
Anything else we need to know:
edit: Updated for accuracy