linkerd2/controller/cmd
Alex Leong db495d6765
refactor(proxy-injector): make injection code take a value overrider as a parameter (#14037)
In order to make the way that proxy injector patches more flexible, we adjust the method signature of `ResourceConfig.GetPodPatch` to accept a `ValueOverrider`.  The type of `ValueOverrider` is:

```
func(values *l5dcharts.Values, overrides map[string]string, namedPorts map[string]int32) (*l5dcharts.Values, error)
``` 

and specifies how overrides (in the form of pod and namespace annotations) get translated into values for the proxy patch template.

The current override behavior, specified in `GetOverriddenValues`, is supplied in all cases, making this a refactor with no functional changes.

Signed-off-by: Alex Leong <alex@buoyant.io>
2025-05-23 15:30:58 -07:00
..
destination feat(destination): introduce transport-protocol outbound TLS mode (#13699) 2025-03-05 13:51:21 -08:00
heartbeat heartbeat: Include the CPU architecture in reports (#9589) 2022-10-10 12:31:05 -07:00
identity chore(controller): Remove stream concurrency limits (#12598) 2024-05-15 18:07:15 +01:00
proxy-injector refactor(proxy-injector): make injection code take a value overrider as a parameter (#14037) 2025-05-23 15:30:58 -07:00
sp-validator allow pprof to be configurable via helm flags (#8090) 2022-03-22 14:31:04 -06:00
main.go Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00