linkerd / linkerd2

Ultralight, security-first service mesh for Kubernetes. Main repo for Linkerd 2.x.
https://linkerd.io
Apache License 2.0
10.49k stars 1.27k forks source link

Add support for json output in inject and uninject commands #12600

Closed adleong closed 1 month ago

adleong commented 1 month ago

We add support for the --output/-o flag in linkerd inject and linkerd uninject commands. The supported output formats are yaml (default) and json. Kubectl is able to accept both of these formats which means that linkerd inject and linkerd uninject output can be piped into kubectl regardless of which output format is used.