mirror of https://github.com/linkerd/linkerd2.git
* Skip configuring firewall if rules exists This change fixes an issue where the `proxy-init` will fail if `PROXY_INIT_*` chains already exist in the pod's iptables. This then causes the pod to never start because proxy-init never finishes running with a non-zero exit code. In this change, we capture the output of the `iptables-save` command and then check to see if the output contains the `PROXY_INIT_*` chains. If they do, exist and log a warning stating that the chains already exist. Fixes #5786 Signed-off-by: Dennis Adjei-Baah <dennis@buoyant.io> |
||
|---|---|---|
| .. | ||
| fake | ||
| metrics.go | ||
| webhook.go | ||
| webhook_test.go | ||