linkerd2/controller/api/destination
Tarun Pothulapati 5c1a375a51
destination: pass opaque-ports through cmd flag (#5829)
* destination: pass opaque-ports through cmd flag

Fixes #5817

Currently, Default opaque ports are stored at two places i.e
`Values.yaml` and also at `opaqueports/defaults.go`. As these
ports are used only in destination, We can instead pass these
values as a cmd flag for destination component from Values.yaml
and remove defaultPorts in `defaults.go`.

This means that users if they override `Values.yaml`'s opauePorts
field, That change is propogated both for injection and also
discovery like expected.

Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
2021-03-01 16:00:20 +05:30
..
watcher destination: pass opaque-ports through cmd flag (#5829) 2021-03-01 16:00:20 +05:30
client.go Trace Control plane Components with OC (#3495) 2019-10-18 12:19:13 -07:00
endpoint_translator.go destination: pass opaque-ports through cmd flag (#5829) 2021-03-01 16:00:20 +05:30
endpoint_translator_test.go destination: pass opaque-ports through cmd flag (#5829) 2021-03-01 16:00:20 +05:30
fallback_profile_listener.go Update ServiceProfile CRD to version v1alpha2 and remove validation (#3078) 2019-07-23 11:46:31 -07:00
fallback_profile_listener_test.go Update ServiceProfile CRD to version v1alpha2 and remove validation (#3078) 2019-07-23 11:46:31 -07:00
opaque_ports_adaptor.go Return default opaque ports in the destination service (#5814) 2021-02-24 14:55:31 -05:00
profile_translator.go Add opaque ports to destination service updates (#5294) 2020-12-18 12:38:59 -05:00
profile_translator_test.go profiles: Eliminate default timeout (#4958) 2020-09-10 14:00:18 -07:00
server.go destination: pass opaque-ports through cmd flag (#5829) 2021-03-01 16:00:20 +05:30
server_test.go destination: pass opaque-ports through cmd flag (#5829) 2021-03-01 16:00:20 +05:30
traffic_split_adaptor.go Always return destination overrides for services (#4890) 2020-08-19 12:25:58 -07:00
traffic_split_adaptor_test.go Always return destination overrides for services (#4890) 2020-08-19 12:25:58 -07:00