Skip to content

HIP: Validate length of names and labels rather than relying on truncation#416

Open
jarebudev wants to merge 7 commits intohelm:mainfrom
jarebudev:add_hip_auto_truncate_names
Open

HIP: Validate length of names and labels rather than relying on truncation#416
jarebudev wants to merge 7 commits intohelm:mainfrom
jarebudev:add_hip_auto_truncate_names

Conversation

@jarebudev
Copy link

This PR introduces a new Helm Improvement Proposal (HIP) to change Helm so that names and labels in templates are validated to be less than 63 characters in length before attempting to apply to Kubernetes, and discourage the current convention of truncating and trimming values.

jarebudev added 5 commits May 20, 2025 21:58
Signed-off-by: jarebudev <23311805+jarebudev@users.noreply.github.com>
Signed-off-by: jarebudev <23311805+jarebudev@users.noreply.github.com>
Signed-off-by: jarebudev <23311805+jarebudev@users.noreply.github.com>
Signed-off-by: jarebudev <23311805+jarebudev@users.noreply.github.com>
Signed-off-by: jarebudev <23311805+jarebudev@users.noreply.github.com>
Signed-off-by: jarebudev <23311805+jarebudev@users.noreply.github.com>
@andrask
Copy link

andrask commented Oct 28, 2025

I stand with this change request. At minimum, the bad practice of truncation must be removed from the default charts. This "fix" is prevalent in most open source charts and doesn't help at all with deployments. Failing fast is preferred to hiding an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants