icy-furniture-17516
04/02/2023, 4:12 AMgarden deploy
where I have a kubernetes or a container module, that defines ingresses, then the module fails because it tries to create the ingress too early:
Failed deploying service 'prometheus' (from module 'prometheus'). Here is the output:
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Command "/Users/xy/.garden/tools/kubectl/f8a39834529cd1ed/kubectl --context=minikube apply --output=json -f -" failed with code 1:
Error from server (InternalError): error when creating "STDIN": Internal error occurred: failed calling webhook "validate.nginx.ingress.kubernetes.io": failed to call webhook: Post
"https://ingress-nginx-controller-admission.ingress-nginx.svc:443/networking/v1/ingresses?timeout=10s": dial tcp 10.101.27.41:443: connect: connection refused
Error from server (InternalError): error when creating "STDIN": Internal error occurred: failed calling webhook "validate.nginx.ingress.kubernetes.io": failed to call webhook: Post
"https://ingress-nginx-controller-admission.ingress-nginx.svc:443/networking/v1/ingresses?timeout=10s": dial tcp 10.101.27.41:443: connect: connection refused
It succeeds when I rerun garden deploy
bright-policeman-43626
04/02/2023, 6:35 AMicy-furniture-17516
04/02/2023, 6:51 AMquaint-dress-831
04/02/2023, 1:28 PM