Skip to content

Commit

Permalink
Add sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
pankajastro committed Jul 22, 2024
1 parent 680e84e commit 84ffd74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/test/kubernetes-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ helm repo update
helm install postgres bitnami/postgresql
POSTGRES_PASSWORD=$(kubectl get secret --namespace default postgres-postgresql -o jsonpath="{.data.postgres-password}" | base64 -d)
export POSTGRES_PASSWORD
sleep 300
kubectl port-forward --namespace default postgres-postgresql-0 5432:5432 &
kubectl create secret generic postgres-secrets --from-literal=host=postgres-postgresql.default.svc.cluster.local --from-literal=password=$POSTGRES_PASSWORD

0 comments on commit 84ffd74

Please sign in to comment.