mirror of https://github.com/linkerd/linkerd2.git
* values: removal of .global field Fixes #5425 With the new extension model, We no longer need `Global` field as we don't rely on chart dependencies anymore. This helps us further cleanup Values, and make configuration more simpler. To make upgrades and the usage of new CLI with older config work, We add a new method called `config.RemoveGlobalFieldIfPresent` that is used in the upgrade and `FetchCurrentConfiguration` paths to remove global field and attach its child nodes if global is present. This is verified by the `TestFetchCurrentConfiguration`'s older test that has the global field. We also don't yet remove .global in some helm stable-upgrade tests for the initial install to work. Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com> |
||
|---|---|---|
| .. | ||
| config.go | ||