-openldap.
This commit is contained in:
@@ -4,7 +4,7 @@ BRANCH=${2:-dev}
|
||||
|
||||
export KUBECONFIG=$(realpath ./deployed_config)
|
||||
|
||||
POD_NAME=$(kubectl get pods --all-namespaces -o=name | grep dev-mongodb-*)
|
||||
POD_NAME=$(kubectl get pods --all-namespaces -o=name | grep $BRANCH-mongodb-*)
|
||||
for file in "${FILES[@]}"; do
|
||||
echo "ADD file $file in collection ${file/.json/} : ${POD_NAME/pod\//}"
|
||||
kubectl cp $file ${POD_NAME/pod\//}:/tmp/$file
|
||||
|
||||
Reference in New Issue
Block a user