linkerd2/pkg/util
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
..
http.go Add go linting to CI config (#2018) 2018-12-20 15:33:09 -08:00
http_test.go Add unit test for pkg/util/http.go (#4770) 2020-07-21 14:08:53 -07:00
parsing.go destination: pass opaque-ports through cmd flag (#5829) 2021-03-01 16:00:20 +05:30
parsing_test.go destination: pass opaque-ports through cmd flag (#5829) 2021-03-01 16:00:20 +05:30