Skip to content

[prometheus, alertmanager] Unable to install with 53 char release name #5536

Open
@Subetov

Description

@Subetov

Describe the bug a clear and concise description of what the bug is.

First run:

helm -n test upgrade -i a-53-charecters-prometheus-release-name-aaaaaaaaaaaaa prometheus-community/prometheus --create-namespace

Release "a-53-charecters-prometheus-release-name-aaaaaaaaaaaaa" does not exist. Installing it now.
Error: no ServiceAccount with the name "a-53-charecters-prometheus-release-name-aaaaaaaaaaaaa-prometheu" found

Second run:

helm -n test upgrade -i a-53-charecters-prometheus-release-name-aaaaaaaaaaaaa prometheus-community/prometheus --create-namespace

Error: UPGRADE FAILED: failed to create resource: Service "a-53-charecters-prometheus-release-name-aaaaaaaaaaaaa-alertmana-headless" is invalid: metadata.name: Invalid value: "a-53-charecters-prometheus-release-name-aaaaaaaaaaaaa-alertmana-headless": must be no more than 63 characters

What's your helm version?

v3.15.3

What's your kubectl version?

v1.32.3

Which chart?

prometheus, alertmanager

What's the chart version?

prometheus: 27.8.0; alertmanager: 1.16.0

Enter the command that you execute and failing/misfunctioning.

helm -n test upgrade -i a-53-charecters-prometheus-release-name-aaaaaaaaaaaaa prometheus-community/prometheus --create-namespace

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions