mirror of https://github.com/linkerd/linkerd2.git
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> |
||
---|---|---|
.. | ||
destination | ||
heartbeat | ||
identity | ||
proxy-injector | ||
sp-validator | ||
main.go |