Use --set-string for helm image values#3313
Merged
balopat merged 1 commit intoGoogleContainerTools:masterfrom Dec 18, 2019
michaelbeaumont:helm-set-string
Merged
Use --set-string for helm image values#3313balopat merged 1 commit intoGoogleContainerTools:masterfrom michaelbeaumont:helm-set-string
balopat merged 1 commit intoGoogleContainerTools:masterfrom
michaelbeaumont:helm-set-string
Conversation
Codecov Report
|
Fixes #1992 - Includes unit test
balopat
approved these changes
Dec 18, 2019
Contributor
|
I hope that this won't cause issues where people would expect typed values (booleans, integers?)? |
Contributor
Author
|
I don't think so since it's only used for |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1992, related to helm/helm#1707
Description
This prevents helm from interpreting tags as numbers, for example, short git commits made up of numeric characters.
User facing changes
n/a
Before
helmis called with the image and tag information using something like--set image.repository=container,image.tag=5678444causing the tag to be interpreted as a number. This leads toPods failing withInvalidImageName:After
helmis called with the image and tag information using something like--set-string image.repository=container,image.tag=5678444, preventing5678444from being interpreted as a float.Next PRs.
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
Reviewer Notes
Release Notes