Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
conduit inject: Enable auto name completion in proxy
Previously `conduit inject` did not enable automatic name completion in the proxy. As a result services couldn't connect to services outside the "default" namespace without qualifying the service name with (at least) the namespace. This is arguably safer but it isn't compatible with the way things work in Kubernetes when the proxy isn't used. Enable name auto-completion in the proxy so that the proxy will add the current pod's namespace to any unqualified service name. This depends on the feature being added to the proxy (PR #59). Due to some issues with how zones are dealt with in the project, the zone component isn't provided; it turns out that it doesn't matter whether we provide the zone in the current implementation. Dealing with the zone better will be added later. Validated by deploying the emojivoto service with its configuration updated to use unqualified names (`sed "s/\\.emojivoto//g"`). Before this change this modified configuration would fail; now it succeeds. Fixes #9.
- Loading branch information