Created
December 29, 2020 00:10
-
-
Save Seanny123/44e2711775c27efaaa9ef0d2007230df to your computer and use it in GitHub Desktop.
Script to get the Argo annotations from YAML output. Helpful when debugging Argo Workflow parameter errors.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# requires yq and jq to be installed | |
kubectl get pods $1 -o yaml | yq .metadata.annotations.\"workflows.argoproj.io/template\" | jq -r | jq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment