diff --git a/templates/gitea/init.yaml b/templates/gitea/init.yaml index 2c30c9f..8927ba7 100644 --- a/templates/gitea/init.yaml +++ b/templates/gitea/init.yaml @@ -64,7 +64,7 @@ stringData: echo 'Wait for valkey to become avialable...' until [ "${RETRY}" -ge "${MAX}" ]; do - nc -vz -w2 {{ include "valkey.servicename" . }} {{ include "valkey.port" . }} && break + RES_OPTIONS="ndots:0" nc -vz -w2 {{ include "valkey.servicename" . }} {{ include "valkey.port" . }} && break RETRY=$[${RETRY}+1] echo "...not ready yet (${RETRY}/${MAX})" done @@ -225,4 +225,4 @@ stringData: configure_oauth - echo '==== END GITEA CONFIGURATION ====' \ No newline at end of file + echo '==== END GITEA CONFIGURATION ===='