-openldap.

This commit is contained in:
mr
2025-04-01 10:20:55 +02:00
parent 8596fde233
commit 3ca23c0645
3 changed files with 5 additions and 3 deletions

View File

@@ -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