Answers for "add a secret to namespace kubernetes"

1

kubectl copy secret namespace

kubectl get secret <secrt_name> --namespace=<namespace1_name> --export -o yaml |
    kubectl apply --namespace=<namespace2_name> -f -
Posted by: Guest on March-01-2020
0

kubernetes copy secret form another namespace

kubectl get secret gitlab-registry --namespace=revsys-com --export -o yaml |
   kubectl apply --namespace=devspectrum-dev -f -
Posted by: Guest on November-30-2021

Code answers related to "add a secret to namespace kubernetes"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language