Skip to content

Commit

Permalink
Installer retries connecting to local registry
Browse files Browse the repository at this point in the history
Without this users will always see failure when installing korifi and
may not recognise that the job recovers automatically

Co-authored-by: Georgi Sabev <georgethebeatle@gmail.com>
  • Loading branch information
danail-branekov and georgethebeatle committed Oct 28, 2024
1 parent 1af41fa commit dfcdd3f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/installer/install-korifi-kind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ spec:
--set persistence.deleteEnabled=true \
--set secrets.htpasswd='user:$2y$05$Ue5dboOfmqk6Say31Sin9uVbHWTl8J1Sgq9QyAEmFQRnq1TPfP1n2'
while ! curl -o /dev/null http://localregistry-docker-registry.default.svc.cluster.local:30050/v2/_catalog 2>/dev/null; do
echo Waiting for the local docker registry to respond...
sleep 1
done
registry_status_code=""
while [[ "$registry_status_code" != "200" ]]; do
echo Waiting for the local docker registry to start...
Expand Down

0 comments on commit dfcdd3f

Please sign in to comment.