$ helm install postgresql bitnami/postgresql --set primary.persistence.enabled=false
export POSTGRES_PASSWORD=$(kubectl get secret --namespace default postgresql -o jsonpath="{.data.postgres-password}" | base64 -d)
echo $POSTGRES_PASSWORD
kubectl port-forward --namespace default svc/postgresql 5432:5432
psql --host 127.0.0.1 -U postgres -d postgres -p 5432 < 1_create_tables.sql
psql --host 127.0.0.1 -U postgres -d postgres -p 5432 < 2_seed_users.sql
psql --host 127.0.0.1 -U postgres -d postgres -p 5432 < 3_seed_tokens.sql
Step 6: Create a Dockerfile for the application and build codeBuild to create and push image into AWS ECR.
Kubectl apply -f ./deployment