linkerd2/cli
Alejandro Pedraza ba9fd70892
`linkerd upgrade config` bombs when installation had a flag (#3097)
When installing using some of the flags that persist in install, e.g
`linkerd install --ha`, and then doing `linkerd upgrade config` a nil
pointer error is thrown.

Fixes #3094

`newCmdUpgradeConfig()` was using passing `flags` as nil because
`linkerd upgrade config` doesn't expose any flags for the subcommand,
but turns out they're still needed down the call stack in
`setFlagsFromInstall` to reuse the flags persisted during install.

I also added a new unit test catching this.

Signed-off-by: Alejandro Pedraza <alejandro@buoyant.io>
2019-07-18 09:09:01 -05:00
..
cmd `linkerd upgrade config` bombs when installation had a flag (#3097) 2019-07-18 09:09:01 -05:00
install Introduce Control Plane's PSP and RBAC resources into Helm templates (#2920) 2019-06-12 20:18:46 -07:00
installsp Move tap service into its own pod. (#2773) 2019-05-15 16:28:44 -05:00
static Remove GOPATH dependency from cli dev environment (#2444) 2019-03-05 10:25:14 -08:00
Dockerfile-bin Add prometheus metrics for watchers (#3022) 2019-07-08 11:50:26 -07:00
main.go Introduce go generate to embed static templates (#2189) 2019-02-04 18:09:47 -08:00