linkerd2/controller
Krzysztof Dryś f92e77f7f0
Remove legacy upgrade and it's references (#7309)
With [linkerd2#5008](https://github.com/linkerd/linkerd2/issues/5008) and associated PRs, we changed the way configuration is handled by storing a helm values struct inside of the configmap.

Now that we have had one stable release with new configuration, were no longer use and need to maintain the legacy config. This commit removes all the associated logic, protobuf files, and references.

Changes Include:

- Removed [`proto/config/config.proto`](https://github.com/linkerd/linkerd2/blob/main/proto/config/config.proto)
- Changed [`bin/protoc-go.sh`](https://github.com/linkerd/linkerd2/blob/main/bin/protoc-go.sh) to not include `config.proto`
- Changed [`FetchLinkerdConfigMap()`](741fde679b/pkg/healthcheck/healthcheck.go (L1768)) in `healthcheck.go` to return only the configmap, with the pb type.
- Changed [`FetchCurrentConfiguration()`](741fde679b/pkg/healthcheck/healthcheck.go (L1647)) only unmarshal and use helm value struct from configmap (as a follow-up to the todo above; note that there's already a todo here to refactor the function once value struct is the default, which has already happened)
- Removed [`upgrade_legacy.go`](https://github.com/linkerd/linkerd2/blob/main/cli/cmd/upgrade_legacy.go)

Signed-off-by: Krzysztof Dryś <krzysztofdrys@gmail.com>
2021-11-29 20:08:58 +05:30
..
api Remove legacy upgrade and it's references (#7309) 2021-11-29 20:08:58 +05:30
cmd Honor Server `proxyProtocol` in destination service `Get` with policy CRD APIs (#7184) 2021-11-23 20:35:53 -07:00
gen Remove legacy upgrade and it's references (#7309) 2021-11-29 20:08:58 +05:30
heartbeat Remove legacy upgrade and it's references (#7309) 2021-11-29 20:08:58 +05:30
identity core: use serviceAccountToken volume for pod authentication (#7117) 2021-11-03 02:03:39 +05:30
k8s Honor Server `proxyProtocol` in destination service `Get` with policy CRD APIs (#7184) 2021-11-23 20:35:53 -07:00
proxy-injector Allow proxy-init container to run as non-root (#7162) 2021-11-05 10:44:32 -05:00
script Honor Server `proxyProtocol` in destination service `Get` with policy CRD APIs (#7184) 2021-11-23 20:35:53 -07:00
sp-validator Fix sp-validator not setting requestUID (#5866) 2021-03-04 09:57:57 -08:00
webhook Graceful shutdown for admin server (#6817) 2021-09-07 10:50:31 -05:00
Dockerfile Remove core dependency on viz (#6497) 2021-07-19 14:28:45 -07:00