Skip to content

Commit

Permalink
Update init script
Browse files Browse the repository at this point in the history
  • Loading branch information
fwilhe committed Oct 15, 2024
1 parent 897b558 commit 23877a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy-k8s.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ sleep 30
if kubectl get po | grep -q init-pg ; then
echo 'init-pg container exists, skipping init for now'
else
kubectl run init-pg --image=ghcr.io/gardenlinux/glvd-postgres-init:latest --restart=Never --env=PGHOST=glvd-database-0.glvd-database --env=PGPASSWORD="$DB_PASSWORD"
kubectl run init-pg --image=ghcr.io/gardenlinux/glvd-init:latest --restart=Never --env=PGHOST=glvd-database-0.glvd-database --env=PGPASSWORD="$DB_PASSWORD"
echo 'give init some time to complete'
sleep 60
fi
Expand Down
2 changes: 1 addition & 1 deletion deployment/compose/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ services:
start_period: 30s
timeout: 10s
glvd-postgres-init:
image: ghcr.io/gardenlinux/glvd-postgres-init:latest
image: ghcr.io/gardenlinux/glvd-init:latest
environment:
PGHOST: glvd-postgres
PGPASSWORD: glvd
Expand Down

0 comments on commit 23877a0

Please sign in to comment.