Skip to content

Add back applicationPorts function to the injector (fixes test)#18352

Merged
istio-testing merged 1 commit intoistio:masterfrom
howardjohn:injector/re-add-application-ports
Oct 28, 2019
Merged

Add back applicationPorts function to the injector (fixes test)#18352
istio-testing merged 1 commit intoistio:masterfrom
howardjohn:injector/re-add-application-ports

Conversation

@howardjohn
Copy link
Copy Markdown
Member

@howardjohn howardjohn commented Oct 26, 2019

This was removed in #17986. The
removal was not neccesarily wrong, but it means that the injector
deployment and injection template need to move in lock step, which has
some problems. Specifically, the operator did not have charts updated,
so it fails now, and anyone using :latest tags will also fail without
updating the template.

There is a near-zero cost of keeping the function around, so we might as
well add it back to make things a bit simpler.

This was removed in istio#17986. The
removal was not neccesarily wrong, but it means that the injector
deployment and injection template need to move in lock step, which has
some problems. Specifically, the operator did not have charts updated,
so it fails now, and anyone using :latest tags will also fail without
updating the template.

There is a near-zero cost of keeping the function around, so we might as
well add it back to make things a bit simpler.
@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 Oct 26, 2019
@istio-testing istio-testing added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 26, 2019
@howardjohn howardjohn changed the title Add back applicationPorts function to the injector Add back applicationPorts function to the injector (fixes test) Oct 26, 2019
@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.

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/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants