linkerd2/cli
Kevin Leimkuhler a37f632394
Add block chomping and update golden files (#10244)
> When using ArgoCD and Azure Key Vault Plugin to manage Linkerd via Helm, the
> identityTrustAnchorsPEM value gets passed from Azure Key Vault with a trailing
> new line. This trailing new line makes its way into the config map
> linkerd-identity-trust-roots causing Linkerd control plane to crash upon
> deployment. There aren't any other alternatives when using Azure Key Vault due
> to how multi-line secrets are created. Azure forces this trailing new line.
>
> The solution is to add a block chomping indicator to strip trailing new lines in
> the config map.
> 
> More on block chomping indicators: https://yaml-multiline.info/
> 
> Fixes: #10012

The original PR #10059 has staled out, but it's worth getting this change in.

Signed-off-by: Alexander Di Clemente <diclemea@gmail.com>
Co-authored-by: Kevin Leimkuhler <kleimkuhler@icloud.com>
2023-02-02 12:58:17 -07:00
..
cmd Add block chomping and update golden files (#10244) 2023-02-02 12:58:17 -07:00
flag Introduce LINKERD_DOCKER_REGISTRY and flexibilize CI workflows (#6782) 2021-09-01 13:39:05 -05:00
table Add linkerd viz authz command (#6875) 2021-09-21 09:36:05 -07:00
Dockerfile Update Go to 1.18 (#9019) 2022-07-27 16:10:39 -07:00
main.go Add `gosec` and `errcheck` lints (#7954) 2022-03-03 10:09:51 -07:00