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

fix(service-metrics): invert prometheus svc & fullname length checking #765

Merged
merged 2 commits into from
Dec 9, 2022
Merged

fix(service-metrics): invert prometheus svc & fullname length checking #765

merged 2 commits into from
Dec 9, 2022

Conversation

alecerf
Copy link
Contributor

@alecerf alecerf commented Dec 9, 2022

What does this PR do?

Invert Prometheus metrics service creation check and the Traefik fullname length check.
Fix: #759

Motivation

If we have a release name with more than 50 chars but we don't want to create a metrics service, then the Helm rendering will fail.

With this PR, it will not fail anymore.

More

  • Yes, I updated the tests accordingly
  • Yes, I ran make test and all the tests passed

@mloiseleur
Copy link
Member

Thanks @alecerf .
I added a test, just to be sure it won't happen again.

Copy link
Contributor

@charlie-haley charlie-haley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @alecerf for the PR!

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

Successfully merging this pull request may close these issues.

Helm rendering fails on metrics service even if i don't need it
4 participants