Skip to content

Commit

Permalink
Adjust port-forwarding
Browse files Browse the repository at this point in the history
  • Loading branch information
pankajastro committed Jul 31, 2024
1 parent 80967c1 commit 7be1b07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/test/kubernetes-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ POSTGRES_PASSWORD=$(kubectl get secret --namespace default postgres-postgresql -
export POSTGRES_PASSWORD

# Expose the Postgres to the host running Docker/Kind
kubectl port-forward --namespace default postgres-postgresql-0 5432:5432 &
#kubectl port-forward --namespace default postgres-postgresql-0 5432:5432 &
kubectl port-forward --namespace default svc/postgres-postgresql 5432:5432 &
kubectl create secret generic postgres-secrets --from-literal=host=postgres-postgresql.default.svc.cluster.local --from-literal=password=$POSTGRES_PASSWORD

# Create a docker image containing the dbt project files and dbt profile
Expand Down

0 comments on commit 7be1b07

Please sign in to comment.