Skip to content

Instantly share code, notes, and snippets.

@WadeBarnes
Created March 27, 2025 12:55
Show Gist options
  • Save WadeBarnes/2bda40096a091c8a0a81b2b145b2d633 to your computer and use it in GitHub Desktop.
Save WadeBarnes/2bda40096a091c8a0a81b2b145b2d633 to your computer and use it in GitHub Desktop.
Delete IS tags matching a pattern
oc -n 9b71af-tools get is web -o jsonpath='{range .status.tags[*]}{.tag}{"\n"}' | grep 20250307 | xargs -i sh -c "./manage -e tools untag {} || true"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment