forked from helm/helm
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix specifying of Kubernetes version from build scripts
This bug came about because of three issues that this change corrects: - The CI scripts run on a pull request did not test building Helm. This means that a failure to set a variable using LDFLAGS had no opportunity to be caught. - helm#8608 provided a means to match the k8s version used in linting and chartutil with the version of the package we pull in. With one problem. It attempts to set a const as if it were a string. This is ignored and everyone missed it. - helm#10325 moved those constants to vars so it could be set. This looked good and passed tests but missed that you can't set an int as if it were a string. See first bullet. This change fixes this by moved the internal representation to be a string. These are internal variables not exposed in the public API which makes this change non-breaking to the API. Closes helm#10367 Signed-off-by: Matt Farina <[email protected]>
- Loading branch information
1 parent
f866942
commit 7838fb7
Showing
3 changed files
with
25 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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