mirror of https://github.com/linkerd/linkerd2.git
This PR adds `--ha` flag for `viz install` which overrides with the `values-ha.yaml` of the viz chart. This PR adds these functions in `pkg/charts` so that the same can be re-used elsewhere. ## Testing ```bash tarun in dev in on k3d-deep () linkerd2 on tarun/viz-ha-nits [$?] via 🐹 v1.15.4 took 2s ❯ ./bin/go-run cli viz install | grep 1024 tarun in dev in on k3d-deep () linkerd2 on tarun/viz-ha-nits [$?] via 🐹 v1.15.4 took 2s ❯ ./bin/go-run cli viz install --ha | grep 1024 memory: "1024Mi" tarun in dev in on k3d-deep () linkerd2 on tarun/viz-ha-nits [$?] via 🐹 v1.15.4 took 2s ❯ ./bin/go-run cli viz install --ha --set grafana.resources.memory.limit=1023Mi | grep 1023 memory: "1023Mi" ``` Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com> |
||
|---|---|---|
| .. | ||
| addr | ||
| admin | ||
| charts | ||
| config | ||
| filesonly | ||
| flags | ||
| healthcheck | ||
| identity | ||
| inject | ||
| issuercerts | ||
| k8s | ||
| multicluster | ||
| profiles | ||
| prometheus | ||
| protohttp | ||
| servicemirror | ||
| tap | ||
| tls | ||
| trace | ||
| tree | ||
| util | ||
| version | ||