diff --git a/deploy-k8s.sh b/deploy-k8s.sh index caa8923..8c41520 100755 --- a/deploy-k8s.sh +++ b/deploy-k8s.sh @@ -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 diff --git a/deployment/compose/compose.yaml b/deployment/compose/compose.yaml index b9a5afd..a2be7ed 100644 --- a/deployment/compose/compose.yaml +++ b/deployment/compose/compose.yaml @@ -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