linkerd2/controller/proxy-injector
Alejandro Pedraza 368d16f23c
Fix auto-injecting pods and integration tests reporting (#3335)
* Fix auto-injecting pods and integration tests reporting

When creating an Event when auto-injection occurs (#3316) we try to
fetch the parent object to associate the event to it. If the parent
doesn't exist (like in the case of stand-alone pods) the event isn't
created. I had missed dealing with one part where that parent was
expected.

This also adds a new integration test that I verified fails before this
fix.

Finally, I removed from `_test-run.sh` some `|| exit_code=$?` that was
preventing the whole suite to report failure whenever one of the tests
in `/tests` failed.

Signed-off-by: Alejandro Pedraza <alejandro@buoyant.io>
2019-08-28 15:04:20 -05:00
..
fake Add LINKERD2_PROXY_DESTINATION_GET_SUFFIXES (#3277) 2019-08-21 14:28:30 -07:00
webhook.go Fix auto-injecting pods and integration tests reporting (#3335) 2019-08-28 15:04:20 -05:00
webhook_ops.go Add validation webhook for service profiles (#2623) 2019-04-05 16:10:47 -05:00
webhook_test.go Have the proxy-injector emit events upon injection/skipping injection (#3316) 2019-08-26 13:34:36 -05:00