Skip to content

Instantly share code, notes, and snippets.

@gianrubio
Created August 3, 2018 08:13
Show Gist options
  • Save gianrubio/6744aed08a7a61d6c3850de25ce01597 to your computer and use it in GitHub Desktop.
Save gianrubio/6744aed08a7a61d6c3850de25ce01597 to your computer and use it in GitHub Desktop.
Replace tls secret on kubernetes
kubectl delete secret -n namespace hostname.com
kubectl create secret tls -n accept hostname.com --key /Volumes/Untitled/hostname.com/hostname.com.key --cert /Volumes/Untitled/hostname.com/hostname.com.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment