Skip to content

Instantly share code, notes, and snippets.

@Tim-Schwalbe
Last active July 8, 2021 12:24
Show Gist options
  • Save Tim-Schwalbe/de27642f3a3a4f6bad1ea5d2026dfcfa to your computer and use it in GitHub Desktop.
Save Tim-Schwalbe/de27642f3a3a4f6bad1ea5d2026dfcfa to your computer and use it in GitHub Desktop.
Copy K8S Secret from one Namespace to another
kubectl get secret wildcard-tls --namespace=prod -o yaml | sed 's/namespace: prod/namespace: monitoring/g' | kubectl create -f -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment