Skip to content

Fix bootstrap template with multiple SANs#19854

Merged
istio-testing merged 1 commit intoistio:masterfrom
howardjohn:bootstrap/fix-multiple-san
Dec 31, 2019
Merged

Fix bootstrap template with multiple SANs#19854
istio-testing merged 1 commit intoistio:masterfrom
howardjohn:bootstrap/fix-multiple-san

Conversation

@howardjohn
Copy link
Copy Markdown
Member

@howardjohn howardjohn commented Dec 31, 2019

Currently we generate invalid JSON, since we have no comma between the
list. The easiest way to do this is to have a toJson function so we
don't need to hack together json marshalling in the template. There are
no compatibility issues because the bootstrap logic and bootstrap file
are tightly coupled

Currently we generate invalid JSON, since we have no comma between the
list. The easiest way to do this is to have a toJson function so we
don't need to hack together json marshalling in the template. There are
no compatibility issues because the bootstrap logic and bootstrap file
are tightly coupled
@howardjohn howardjohn requested review from a team as code owners December 31, 2019 02:27
@howardjohn howardjohn force-pushed the bootstrap/fix-multiple-san branch from dce7aec to 6ea3fc4 Compare December 31, 2019 02:27
@istio-policy-bot
Copy link
Copy Markdown

🤔 🐛 You appear to be fixing a bug in Go code, yet your PR doesn't include updates to any test files. Did you forget to add a test?

Courtesy of your friendly test nag.

@googlebot googlebot added the cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. label Dec 31, 2019
@istio-testing istio-testing added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Dec 31, 2019
@howardjohn
Copy link
Copy Markdown
Member Author

howardjohn commented Dec 31, 2019 via email

Copy link
Copy Markdown
Member

@elfinhe elfinhe left a comment

Choose a reason for hiding this comment

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

LGTM. do we have an e2e test for the multiple SANs case?

@howardjohn
Copy link
Copy Markdown
Member Author

Not yet. There are a lot of things needed to get this working e2e still, currently working on it

@istio-testing istio-testing merged commit 528c6bb into istio:master Dec 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants