linkerd2/cli/cmd/testdata
Brian Smith 649e784d9c
Simplify cluster zone suffix handling in the proxy (#528)
* Temporarily stop trying to support configurable zones in the proxy.

None of the zone configuration is tested and lots of things assume the cluster
zone is `cluster.local`. Further, how exactly the proxy will actually learn the
cluster zone hasn't been decided yet.

Just hard-code the zone as "cluster.local" in the proxy until configurable zones
are fully implemented and tested to be working correctly.

Signed-off-by: Brian Smith <brian@briansmith.org>

* Remove the CONDUIT_PROXY_DESTINATIONS_AUTOCOMPLETE_FQDN setting

The way that Kubernetes configures DNS search suffixes has some negative
consequences as some names like "example.com" are ambiguous: depending on
whether there is a service "example" in the "com" namespace, "example.com"
may refer to an external service or an internal service, and this can
fluctuate over time. In recognition of that we added the
CONDUIT_PROXY_DESTINATIONS_AUTOCOMPLETE_FQDN setting, thinking this would
be part of a solution for users to opt out of the unfortunate behavior
if their applications didn't depend on the DNS search suffix feature.

It turns out similar effects can be acheived using a custom dnsConfig,
starting in Kubernetes 1.10 when dnsConfig reaches the beta stability level.
Now any CONDUIT_PROXY_DESTINATIONS_AUTOCOMPLETE_FQDN-based seems duplicative.
Further, attempting to support it optionally made the code complex and hard
to read.

Therefore, let's just remove it. If/when somebody actually requests this
functionality then we can add it back, if dnsConfig isn't a valid alternative
for them.

Signed-off-by: Brian Smith <brian@briansmith.org>

* Further hard-code "cluster.local" as the zone, temporarily.

Addresses review feedback.

Signed-off-by: Brian Smith <brian@briansmith.org>
2018-03-07 14:30:13 -10:00
..
inject_emojivoto_deployment.golden.yml Simplify cluster zone suffix handling in the proxy (#528) 2018-03-07 14:30:13 -10:00
inject_emojivoto_deployment.input.yml Refactor `conduit inject` code to make it unit-testable. (#379) 2018-02-18 12:33:52 -10:00
inject_emojivoto_deployment_controller_name.golden.yml Simplify cluster zone suffix handling in the proxy (#528) 2018-03-07 14:30:13 -10:00
inject_emojivoto_deployment_controller_name.input.yml Inject the conduit proxy into controller pod during conduit install (#365) 2018-02-23 13:55:46 -08:00
inject_emojivoto_deployment_hostNetwork_false.golden.yml Simplify cluster zone suffix handling in the proxy (#528) 2018-03-07 14:30:13 -10:00
inject_emojivoto_deployment_hostNetwork_false.input.yml Skip pods with hostNetwork=true in `conduit inject` (#380) 2018-02-18 13:55:42 -10:00
inject_emojivoto_deployment_hostNetwork_true.golden.yml Skip pods with hostNetwork=true in `conduit inject` (#380) 2018-02-18 13:55:42 -10:00
inject_emojivoto_deployment_hostNetwork_true.input.yml Skip pods with hostNetwork=true in `conduit inject` (#380) 2018-02-18 13:55:42 -10:00
inject_gettest_deployment.bad.golden Print error message only when invalid YAML file is used with inject command (#389) 2018-02-20 11:59:41 -08:00
inject_gettest_deployment.bad.input.yml Print error message only when invalid YAML file is used with inject command (#389) 2018-02-20 11:59:41 -08:00
inject_gettest_deployment.good.golden.yml Simplify cluster zone suffix handling in the proxy (#528) 2018-03-07 14:30:13 -10:00
inject_gettest_deployment.good.input.yml Print error message only when invalid YAML file is used with inject command (#389) 2018-02-20 11:59:41 -08:00
install_default.golden Simplify cluster zone suffix handling in the proxy (#528) 2018-03-07 14:30:13 -10:00
install_output.golden Simplify cluster zone suffix handling in the proxy (#528) 2018-03-07 14:30:13 -10:00
stat_busy_output.golden Remove pod-level metrics from web and CLI (#304) 2018-02-08 19:07:10 -08:00
stat_empty_output.golden Make several CLI commands testable (#86) 2017-12-27 14:10:41 -05:00
stat_one_output.golden Make several CLI commands testable (#86) 2017-12-27 14:10:41 -05:00
status_busy_output.golden Remove kubectl dependency, validate k8s server version via api (#396) 2018-02-20 12:14:11 -08:00
tap_busy_output.golden Make several CLI commands testable (#86) 2017-12-27 14:10:41 -05:00
tap_empty_output.golden Make several CLI commands testable (#86) 2017-12-27 14:10:41 -05:00