Skip to content

Instantly share code, notes, and snippets.

@Oats87
Created June 22, 2023 19:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Oats87/10b93fc13d57b14660a7bc3cc1d1acea to your computer and use it in GitHub Desktop.
Save Oats87/10b93fc13d57b14660a7bc3cc1d1acea to your computer and use it in GitHub Desktop.
Patch for conditions on infrastructuremachine
kubectl -n fleet-default patch vmwarevspheremachine <INFRAMACHINE> --subresource=status --type=json -p='[{"op": "replace", "path": "/status/conditions", "value":[{"type":"CreateJob","status":"True"},{"type":"Ready","status":"True"}]}]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment