Error: template: inject:469: function "appendMultusNetwork" not defined

istioctl kube-inject \
--injectConfigFile inject-config.yaml \
--meshConfigFile mesh-config.yaml \
--valuesFile inject-values.yaml \
--filename samples/sleep/sleep.yaml \
| kubectl apply -f -

While trying to inject istio sidecar container manually to pod. I got error -

Error: template: inject:469: function “appendMultusNetwork” not defined

You likely have a mismatched version of istioctl and inject-config.yaml