Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: must be no more than 63 characters #1945

Open
texn0id opened this issue Jan 22, 2025 · 1 comment
Open

bug: must be no more than 63 characters #1945

texn0id opened this issue Jan 22, 2025 · 1 comment
Labels
wontfix This will not be worked on

Comments

@texn0id
Copy link

texn0id commented Jan 22, 2025

Chart name and version
chart: victoria-metrics-k8s-stack
version: 0.34.0

Describe the bug
Performed help show values vm/victoria-metrics-k8s-stack > def_val.yml
Next helm -n victoriam upgrade --install victoria-metrics-k8s-stack vm/victoria-metrics-k8s-stack -f def_val.yml
Received the message:

Release "victoria-metrics-k8s-stack" does not exist. Installing it now.
NAME: victoria-metrics-k8s-stack
LAST DEPLOYED: Wed Jan 22 19:29:56 2025
NAMESPACE: victoriam
STATUS: deployed
REVISION: 1

When I try to delete it:
helm -n victoriam uninstall victoria-metrics-k8s-stack
I get a message:

Error: warning: Hook pre-delete victoria-metrics-k8s-stack/charts/victoria-metrics-operator/templates/cleanup.yaml failed: 1 error occurred:
	* Job.batch "victoria-metrics-k8s-stack-victoria-metrics-operator-cleanup-hook" is invalid: spec.template.labels: Invalid value: "victoria-metrics-k8s-stack-victoria-metrics-operator-cleanup-hook": must be no more than 63 characters

Custom values
Custom values (default chart 0.34.0):

@AndrewChubatiuk
Copy link
Collaborator

hey @texn0id
we avoid truncating where it's possible
please consider using a shorter release name

@AndrewChubatiuk AndrewChubatiuk added the wontfix This will not be worked on label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants