You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
helm lint should validate chart is using lowercase letters #7672
Currently when creating an index for a repo and packaging it, the name can end up in an invalid name:
helm install nats/NATS nats
Error: create: failed to create: Secret "sh.helm.release.v1.NATS-1582586379.v1" is invalid: metadata.name: Invalid value: "sh.helm.release.v1.NATS-1582586379.v1": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')
Although helm lint shows no errors from the chart related to name being in uppercase:
Activity
wallyqs commentedon Feb 25, 2020
Possibly related to #6477
mattfarina commentedon Feb 25, 2020
This may be related to the order or arguments at the command line. At the Helm CLI it should be...
In the case above it looks like the name and chart are transposed.
technosophos commentedon Apr 21, 2020
If anyone wants to add a lint target for this, PRs are welcome.
technosophos commentedon Apr 27, 2020
I have now added a fix for this in #8011.