linkerd2/pkg
Alex Leong 41c1fc65b0
Upgrade using config overrides (#5005)
This is a major refactor of the install/upgrade code which removes the config protobuf and replaces it with a config overrides secret which stores overrides to the values struct.  Further background on this change can be found here: https://github.com/linkerd/linkerd2/discussions/4966

Note: as-is this PR breaks injection.  There is work to move injection onto a Values-based config which must land before this can be merged.

A summary of the high level changes:

* the install, global, and proxy fields of linkerd-config ConfigMap are no longer populated
* the CLI install flow now follows these simple steps:
  * load default Values from the chart
  * update the Values based on the provided CLI flags
  * render the chart with these values
  * also render a Secret/linkerd-config-overrides which describes the values which have been changed from their defaults
* the CLI upgrade flow now follows these simple stesp:
  * load the default Values from the chart
  * if Secret/linkerd-config-overrides exists, apply the overrides onto the values
  * otherwise load the legacy ConfigMap/linkerd-config and use it to updates the values
  * further update the values based on the provided CLI flags
  * render the chart and the Secret/linkerd-config-overrides as above
* Helm install and upgrade is unchanged

Signed-off-by: Alex Leong <alex@buoyant.io>
2020-10-12 14:23:14 -07:00
..
addr Add some unit test (#4853) 2020-08-18 16:10:13 -07:00
admin remove admin server timeouts (#4350) 2020-05-08 12:59:43 -07:00
charts Upgrade using config overrides (#5005) 2020-10-12 14:23:14 -07:00
config Update Injection to use new linkerd-config.values (#5036) 2020-10-07 09:54:34 -07:00
filesonly Enable lint check for comments (#2023) 2019-01-02 14:03:59 -08:00
flags Bump k8s client-go to v0.19.2 (#5002) 2020-09-28 12:45:18 -05:00
healthcheck Update check to use new linkerd-config.values (#5023) 2020-10-01 11:19:25 -07:00
identity Spelling (#4872) 2020-08-12 21:59:50 -07:00
inject Upgrade using config overrides (#5005) 2020-10-12 14:23:14 -07:00
issuercerts Bump k8s client-go to v0.19.2 (#5002) 2020-09-28 12:45:18 -05:00
k8s Upgrade using config overrides (#5005) 2020-10-12 14:23:14 -07:00
multicluster Bump k8s client-go to v0.19.2 (#5002) 2020-09-28 12:45:18 -05:00
profiles Upgrade generated protobuf files to v1.4.2 (#4673) 2020-06-26 09:36:48 -05:00
prometheus Trace Control plane Components with OC (#3495) 2019-10-18 12:19:13 -07:00
protohttp Fix spelling mistakes using codespell (#4700) 2020-07-07 17:07:22 -05:00
servicemirror Add support for service-mirror selectors (#4795) 2020-07-30 10:07:14 -07:00
tap concatenate additional url paths to protohttp.TapReqToUrl (#4151) 2020-03-11 10:34:05 -07:00
tls Generate Identity certs with alternate domain names (#4920) 2020-09-03 22:33:10 +05:30
trace Trace Control plane Components with OC (#3495) 2019-10-18 12:19:13 -07:00
tree Add linkerd-config-overrides secret (#4911) 2020-09-29 08:01:36 -07:00
util Add unit test for pkg/util/http.go (#4770) 2020-07-21 14:08:53 -07:00
version Update proxy-init version to v1.3.6 (#4850) 2020-08-11 11:54:00 -05:00