diff --git a/templates/gitea/init.yaml b/templates/gitea/init.yaml index 5218b86..5542fca 100644 --- a/templates/gitea/init.yaml +++ b/templates/gitea/init.yaml @@ -62,7 +62,7 @@ stringData: local RETRY=0 local MAX=30 - echo 'Wait for redis to become avialable...' + echo 'Wait for redis to become available...' until [ "${RETRY}" -ge "${MAX}" ]; do nc -vz -w2 {{ include "redis.servicename" . }} {{ include "redis.port" . }} && break RETRY=$[${RETRY}+1]