linkerd2/cli/cmd
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
..
testdata Add block chomping and update golden files (#10244) 2023-02-02 12:58:17 -07:00
alpha.go Remove SMI-Metrics charts and commands (#4843) 2020-08-24 14:35:33 -07:00
authz.go Update authz help text to indicate that it shows all authorizations (#9235) 2022-08-22 15:01:36 -07:00
check.go Add HttpRoute CRD (#8675) 2022-06-29 09:50:23 -07:00
check_test.go Replace usage of io/ioutil package (#9613) 2022-10-13 12:10:58 -05:00
completion.go Add support for server resource aware completion (#6091) 2021-05-18 09:59:59 -04:00
completion_test.go build(deps): bump github.com/spf13/cobra from 1.4.0 to 1.5.0 (#8717) 2022-06-24 10:47:28 -07:00
controller-metrics.go Remove linkerd-viz dependency from linkerd-mutlicluster `gateways` command (#8467) 2022-05-31 13:51:38 -06:00
diagnostics.go Add diagnostics policy command (#9513) 2022-10-07 16:43:24 -07:00
doc.go Added missing proxy annotations in docs (#9440) 2022-09-23 16:32:34 -05:00
endpoints.go Fix --api-addr flag to be respected (#9270) 2022-09-23 13:28:27 -07:00
endpoints_test.go Fuzzing: Move fuzzers upstream (#7419) 2022-05-05 13:01:00 -06:00
identity.go enable `staticcheck` (#8037) 2022-03-10 15:43:35 -08:00
inject.go Add support for Pod Security Admission (#9719) 2022-12-19 10:23:46 -05:00
inject_test.go Replace usage of io/ioutil package (#9613) 2022-10-13 12:10:58 -05:00
inject_util.go Add `gosec` and `errcheck` lints (#7954) 2022-03-03 10:09:51 -07:00
install-cni-plugin.go go: Enable `errorlint` checking (#7885) 2022-02-16 18:32:19 -07:00
install-cni-plugin_test.go test: Diff structured YAML when possible (#8432) 2022-05-10 08:40:29 -07:00
install.go Add support for Pod Security Admission (#9719) 2022-12-19 10:23:46 -05:00
install_cni_helm_test.go Adds a default Exists toleration to linkerd-cni (#9789) 2022-11-22 15:26:20 -05:00
install_helm_test.go policy: Remove `gateway.networking.k8s.io` `HTTPRoute` CRD (#8959) 2022-07-25 13:23:02 -07:00
install_test.go Removed dupe imports (#10049) 2023-01-10 14:34:56 -05:00
main_test.go viz: add render golden tests (#5433) 2021-01-12 11:59:16 +05:30
metrics.go feat(cli): add obfuscate flag for diagnostics proxy-metrics cmd (#7442) 2021-12-10 09:54:36 -08:00
metrics_diagnostics_util.go Remove linkerd-viz dependency from linkerd-mutlicluster `gateways` command (#8467) 2022-05-31 13:51:38 -06:00
metrics_diagnostics_util_test.go Replace usage of io/ioutil package (#9613) 2022-10-13 12:10:58 -05:00
options.go Removed dupe imports (#10049) 2023-01-10 14:34:56 -05:00
policy.go Add diagnostics policy command (#9513) 2022-10-07 16:43:24 -07:00
profile.go values: removal of .global field (#5699) 2021-02-11 23:38:34 +05:30
profile_test.go Bump helm.sh/helm/v3 from 3.4.1 to 3.6.1 (#6286) 2021-06-18 09:34:29 -06:00
range_slice.go Enable mixed configuration of skip-[inbound|outbound]-ports (#3766) 2019-12-20 09:32:13 -05:00
range_slice_test.go Enable mixed configuration of skip-[inbound|outbound]-ports (#3766) 2019-12-20 09:32:13 -05:00
root.go Delete repair command (#7600) 2022-01-13 10:38:50 -08:00
test_helper.go Enable gocritic linting (#7906) 2022-02-17 22:45:25 +00:00
uninject.go Remove namespace from charts and split them into `linkerd-crd` and `linkerd-control-plane` (#6635) 2021-12-10 15:53:08 -05:00
uninject_test.go test: Diff structured YAML when possible (#8432) 2022-05-10 08:40:29 -07:00
uninstall.go Upgrade golangci-lint (#7338) 2021-11-23 12:54:47 -07:00
upgrade.go Removed dupe imports (#10049) 2023-01-10 14:34:56 -05:00
upgrade_test.go Removed dupe imports (#10049) 2023-01-10 14:34:56 -05:00
version.go Removed `Version` API from the public-api (#6000) 2021-04-16 11:23:55 -05:00