Yq: Revision history

From Halfface
Jump to navigationJump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

9 September 2025

  • curprev 05:3005:30, 9 September 2025 Ekaanbj talk contribs 1,239 bytes +1,239 Created page with "=yq= ==Download and make executable.== <pre> sudo curl -skL https://github.com/mikefarah/yq/releases/download/v4.32.2/yq_linux_amd64 -o /usr/local/bin/yq ; sudo chmod 755 /usr/local/bin/yq </pre> ==Select specific values.== oc get mcp worker -o yaml | yq '.spec.configuration.source.[].name' ==Delete specific values.== oc get secret -n openshift-config api-ocp -o yaml | kubectl neat | yq 'del(.metadata.annotations)' oc get kafka kafka -o yaml | yq 'del(.status)' oc g..."