Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Add prefix to data hash, so it cannot be parsed as integer. #2694

Merged
merged 1 commit into from
Dec 9, 2021

Conversation

HanFa
Copy link
Contributor

@HanFa HanFa commented Dec 9, 2021

What this PR does / why we need it

We observe scenarios that some data value hash, e,g, 5386e49 will be treated as an integer by the ytt template. And kubectl cannot apply the rendered yaml file. Submit a fix that prefix "h-" before the hash to enforce it as a string.

Details for the Release Notes (PLEASE PROVIDE)

Add prefix to data hash, so it cannot be parsed as integer.

Which issue(s) this PR fixes

Fixes: #

Describe testing done for PR

Unit test of the vsphere-cpi addon.

Special notes for your reviewer

@HanFa HanFa requested a review from a team as a code owner December 9, 2021 00:17
@github-actions github-actions bot added the owner/packages Work executed by a package's maintainer label Dec 9, 2021
@HanFa HanFa force-pushed the topic/fhan/fix-data-hash branch from 212bf2d to 4cb1b54 Compare December 9, 2021 00:22
@lubronzhan
Copy link
Contributor

/lgtm
Hi @vijaykatam could you take a look as well

@davidvonthenen davidvonthenen merged commit 3b497a2 into main Dec 9, 2021
@lubronzhan lubronzhan deleted the topic/fhan/fix-data-hash branch December 9, 2021 18:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla-not-required owner/packages Work executed by a package's maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants