refactor(bootstrap): check Gitea Ingress instead of curl

- A bit faster (no need for timeout)
- Still works if NGINX is down
This commit is contained in:
Khue Doan 2022-10-14 21:31:07 +07:00
parent 750614c866
commit 8f7bd25996

View File

@ -2,7 +2,7 @@
VALUES="values.yaml"
curl -fks --connect-timeout 5 https://git.khuedoan.com \
kubectl get ingress gitea --namespace gitea \
|| VALUES="values-seed.yaml"
helm template \