Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

kubectl copy secret namespace

kubectl get secret <secrt_name> --namespace=<namespace1_name> --export -o yaml |
    kubectl apply --namespace=<namespace2_name> -f -
Source by www.revsys.com #
 
PREVIOUS NEXT
Tagged: #kubectl #copy #secret #namespace
ADD COMMENT
Topic
Name
3+4 =