The volume mounted in the NSC is hardcoded in the webhook, so if the CONNECT_TO environment variable is set to another directory than /var/lib/networkservicemesh, the NSC containers injected will not be able to communicate with the NSM API.
Steps to reproduce
- Add the
CONNECT_TO variable to the ENVS in the environment variables of the webhook
- name: NSM_ENVS
value: NSM_CONNECT_TO=unix:///new-path/nsm.io.sock
- Set the
CONNECT_TO (or LISTEN_ON for nsmgr) environment variable for the other NSM components
- Deploy NSM + webhook
- Deploy an NSM application (NSC + NSE)
new-path is not mounted, so the NSC will not start.
The volume mounted in the NSC is hardcoded in the webhook, so if the
CONNECT_TOenvironment variable is set to another directory than/var/lib/networkservicemesh, the NSC containers injected will not be able to communicate with the NSM API.Steps to reproduce
CONNECT_TOvariable to theENVSin the environment variables of the webhookCONNECT_TO(orLISTEN_ONfor nsmgr) environment variable for the other NSM componentsnew-pathis not mounted, so the NSC will not start.