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: replace plus character with underscore in version label #3742

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

frossi-git
Copy link

@frossi-git frossi-git commented Dec 13, 2024

What this PR does / why we need it:
When the chart version contains a + character, the app.kubernetes.io/version label value is rendered from the chart version as is causing invalid character errors in the label.
This PR fixes this behavior by replacing the '+' character with a "_'.

Fixes #3741

@frossi-git frossi-git requested a review from a team as a code owner December 13, 2024 16:06
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.56%. Comparing base (3350319) to head (8d8c47f).
Report is 214 commits behind head on master.

❗ There is a different number of reports uploaded between BASE (3350319) and HEAD (8d8c47f). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (3350319) HEAD (8d8c47f)
unittests 2 1
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3742      +/-   ##
==========================================
- Coverage   54.49%   47.56%   -6.93%     
==========================================
  Files         134      236     +102     
  Lines       12329    19923    +7594     
==========================================
+ Hits         6719     9477    +2758     
- Misses       5116     9553    +4437     
- Partials      494      893     +399     
Flag Coverage Δ
unittests 47.56% <ø> (-6.93%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@ritazh ritazh left a comment

Choose a reason for hiding this comment

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

LGTM

Thanks for the PR @frossi-git!

@JaydipGabani
Copy link
Contributor

@maxsmythe PTAL

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

Successfully merging this pull request may close these issues.

app.kubernetes.io/version label value is rendered with an invalid character
4 participants