Skip to content

Instantly share code, notes, and snippets.

@aojea
Created July 18, 2017 09:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save aojea/c5b3a60e2db6aac63549b6b0d759d216 to your computer and use it in GitHub Desktop.
Save aojea/c5b3a60e2db6aac63549b6b0d759d216 to your computer and use it in GitHub Desktop.
online kubernetes certificate auto approval
for i in $(kubectl get csr | grep Pending | awk '{ print $1 }' ) ; do kubectl certificate approve $i; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment