mirror of https://github.com/linkerd/linkerd2.git
The splitStringListToPorts helm function is currently incorrectly formating a list of ports as an array of Port objects that look ike {"port" : 555}. The config map protobuf representation however expects that the ignoreOutboundPorts and ignoreInboundPorts fields are are list of PortRange objects ({"portRange" : 555}). This was causing the injector to return an empty string when trying to parse a PortRange object resulting in the ports not getting set correctly when injecting workloads. Note that this is happening only with helm installations as this is when we are actually using a helm template for outputting the config map. To fix that the splitStringListToPorts helm function is changed to format the objects as the json representation of PortRange and is renamed to splitStringListToPortRanges Fix: #4679 Signed-off-by: Zahari Dichev zaharidichev@gmail.com |
||
---|---|---|
.. | ||
cmd | ||
installsp | ||
table | ||
Dockerfile-bin | ||
main.go |