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 }}
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.
The helm lint (for Helm 3.3) fails for the prometheus-adapter Helm chart because of the invalid resource name that is not compliant with Kubernetes name requirements. The error is the following:
templates/custom-metrics-apiserver-auth-delegator-cluster-role-binding.yaml: object name does not conform to Kubernetes naming requirements: "prometheus-adapter:system:auth-delegator"
Particularly, it does not like the colons in the resource name.
Helm uses the following regular expression to check the validity of a resource name:
==> Linting stable/prometheus-adapter
[INFO] Chart.yaml: icon is recommended
[ERROR] templates/custom-metrics-apiserver-auth-delegator-cluster-role-binding.yaml: object name does not conform to Kubernetes naming requirements: "prometheus-adapter:system:auth-delegator"
Error: 1 chart(s) linted, 1 chart(s) failed
The text was updated successfully, but these errors were encountered:
Describe the bug
The helm lint (for Helm 3.3) fails for the
prometheus-adapter
Helm chart because of the invalid resource name that is not compliant with Kubernetes name requirements. The error is the following:Particularly, it does not like the colons in the resource name.
Helm uses the following regular expression to check the validity of a resource name:
^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
I believe the name should become:
prometheus-adapter-system-auth-delegator
Version of Helm and Kubernetes:
Helm: 3.3.0
Kubernetes: 1.18.7
Which chart:
stable/prometheus-adapter
What happened:
helm lint
command failsWhat you expected to happen:
helm lint
command passesHow to reproduce it (as minimally and precisely as possible):
Using Helm 3.3 run the following commands:
The output is:
The text was updated successfully, but these errors were encountered: