Find answers to your technical questions and learn how to use our products
Search suggestions:
Use this procedure to copy analyticsdb-node secrets into the mstr namespace.
kubectl get secrets | grep 'analyticsdb-pguser-mstruser\|analyticsdb-pguser-postgres'
kubectl get secrets -n default analyticsdb-pguser-postgres -o json | jq '.metadata.namespace = "mstr"' > /tmp/analyticsdb-pguser-postgres.yaml
kubectl get secrets -n default analyticsdb-pguser-mstruser -o json | jq '.metadata.namespace = "mstr"' > /tmp/analyticsdb-pguser-mstruser.yaml
vi /tmp/analyticsdb-pguser-postgres.yaml
kubectl apply -n mstr -f /tmp/analyticsdb-pguser-postgres.yaml
kubectl apply -n mstr -f /tmp/analyticsdb-pguser-mstruser.yaml
kubectl get secrets -n mstr | grep 'analyticsdb-pguser-mstruser\|analyticsdb-pguser-postgres'
Previous Topic
Next Topic