linkerd2/pkg
Matei David 6bea77d89b
Add cache configuration annotation support (#10871)
The proxy caches discovery results in-memory. Linkerd supports
overriding the default eviction timeout for cached discovery results
through install (i.e. helm) values. However, it is currently not
possible to configure timeouts on a workload-per-workload basis, or to
configure the values after Linkerd has been installed (or upgraded).

This change adds support for annotation based configuration. Workloads
and namespaces now support two new configuration annotations that will
override the install values when specified.

Additionally, a typo has been fixed on the internal type representation.
This is not a breaking change since the type itself is not exposed to
users and is parsed correctly in the values.yaml file (or CLI)


Signed-off-by: Matei David <matei@buoyant.io>
Co-authored-by: Eliza Weisman <eliza@buoyant.io>
2023-05-10 16:27:37 +01:00
..
addr Removed dupe imports (#10049) 2023-01-10 14:34:56 -05:00
admin Readiness checks fail until caches are synced (#10166) 2023-01-25 11:43:09 -08:00
charts Add cache configuration annotation support (#10871) 2023-05-10 16:27:37 +01:00
cmd Add prune command to linkerd and to extensions (#10303) 2023-02-17 10:44:30 -08:00
config Replace usage of io/ioutil package (#9613) 2022-10-13 12:10:58 -05:00
filesonly Enable lint check for comments (#2023) 2019-01-02 14:03:59 -08:00
flags Add `gosec` and `errcheck` lints (#7954) 2022-03-03 10:09:51 -07:00
healthcheck cni-plugin: v1.1.3 (#10855) 2023-05-04 17:15:09 -07:00
identity Fuzzing: Move fuzzers upstream (#7419) 2022-05-05 13:01:00 -06:00
inject Add cache configuration annotation support (#10871) 2023-05-10 16:27:37 +01:00
issuercerts Replace usage of io/ioutil package (#9613) 2022-10-13 12:10:58 -05:00
k8s Add cache configuration annotation support (#10871) 2023-05-10 16:27:37 +01:00
multicluster Removed dupe imports (#10049) 2023-01-10 14:34:56 -05:00
profiles Replace usage of io/ioutil package (#9613) 2022-10-13 12:10:58 -05:00
prometheus build(deps): bump github.com/prometheus/client_golang from 1.12.2 to 1.13.0 (#9107) 2022-08-16 09:20:17 -07:00
protohttp Replace usage of io/ioutil package (#9613) 2022-10-13 12:10:58 -05:00
servicemirror Add support for service-mirror selectors (#4795) 2020-07-30 10:07:14 -07:00
tls Removed dupe imports (#10049) 2023-01-10 14:34:56 -05:00
trace Trace Control plane Components with OC (#3495) 2019-10-18 12:19:13 -07:00
tree Remove namespace from charts and split them into `linkerd-crd` and `linkerd-control-plane` (#6635) 2021-12-10 15:53:08 -05:00
util inject: don't expand opaque port ranges (#10827) 2023-04-27 11:27:40 -07:00
version cni-plugin: v1.1.3 (#10855) 2023-05-04 17:15:09 -07:00