Skip to content

Backport 1.4.x: Sanitize Vault version strings for Kubernetes#8451

Merged
tyrannosaurus-becks merged 1 commit into
release/1.4.xfrom
backport-pr-8411-1.4.x
Mar 3, 2020
Merged

Backport 1.4.x: Sanitize Vault version strings for Kubernetes#8451
tyrannosaurus-becks merged 1 commit into
release/1.4.xfrom
backport-pr-8411-1.4.x

Conversation

@tyrannosaurus-becks
Copy link
Copy Markdown
Contributor

@tyrannosaurus-becks tyrannosaurus-becks commented Mar 2, 2020

Backports #8411, please see there for further detail. This PR is intended to be included in the 1.4 GA.

* sanitize vault version strings for kube

* replace disallowed chars with dashes

* use strings.Map

* use switch for whitelisted chars
@tyrannosaurus-becks tyrannosaurus-becks requested a review from a team March 2, 2020 22:21
@tyrannosaurus-becks tyrannosaurus-becks added this to the 1.4 milestone Mar 2, 2020
@pcman312
Copy link
Copy Markdown
Contributor

pcman312 commented Mar 3, 2020

Could you add a description to this PR please? In particular I'd like to see: basic description of what it's doing, why we're doing it, any PRs/issues that are relevant to this PR. In particular, can this reference back to the PR that originally did the sanitization? Thanks!

@tyrannosaurus-becks
Copy link
Copy Markdown
Contributor Author

@pcman312 ah yes, I should have linked the PR. Added! It has all the details.

@tyrannosaurus-becks tyrannosaurus-becks merged commit 402cd83 into release/1.4.x Mar 3, 2020
@tyrannosaurus-becks tyrannosaurus-becks deleted the backport-pr-8411-1.4.x branch March 3, 2020 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants