Skip to content

Instantly share code, notes, and snippets.

@si3mshady
Created August 4, 2022 01:48
Show Gist options
  • Save si3mshady/64d5075e65e68012416a967238128c5d to your computer and use it in GitHub Desktop.
Save si3mshady/64d5075e65e68012416a967238128c5d to your computer and use it in GitHub Desktop.
Generate k8s deployment manifest files after using helm
for dep in $(kubectl get deployment | awk '{print $1}'); do kubectl get deployment $dep -o yaml > $dep.yml; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment