Tarun Pothulapati
1e7bb1217d
Update Injection to use new linkerd-config.values ( #5036 )
...
This PR Updates the Injection Logic (both CLI and proxy-injector)
to use `Values` struct instead of protobuf Config, part of our move
in removing the protobuf.
This does not touch any of the flags, install related code.
Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
Co-authored-by: Alex Leong <alex@buoyant.io>
2020-10-07 09:54:34 -07:00
Tarun Pothulapati
49d39e5a12
Instrumenting Proxy-Injector ( #3354 )
...
* add proxy injection prometheus counters
Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
* formatted injection reasons
Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
* update proxy injection report tests
Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
* keep the structure, and add global ownerKind
Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
* increase request count, when owner is nil
Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
* add readable reasons using map
Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
* fix linting issues
Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
* add proxy config override annotations as labels
Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
* remove space for machine reasons
Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
* use correct proxy image override annotation
Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
* add annotation_at label to prom metrics
Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
* refactor disablebyannotation function
Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
2019-09-20 09:46:57 -07:00