Copying Kubernetes Secrets Between Namespaces
A simple way of copying common secret data between namespaces
kubectl get secret private-registry --namespace=dev1 --export -o yaml |\
kubectl apply --namespace=dev2 -f -
A simple way of copying common secret data between namespaces
kubectl get secret private-registry --namespace=dev1 --export -o yaml |\
kubectl apply --namespace=dev2 -f -
As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.
Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.