-
Notifications
You must be signed in to change notification settings - Fork 16.8k
[stable/gocd] GoCD Ingress default template #10750
Comments
@colachg - I believe its a bug in traefik which does not allow default backends in ingress. See traefik/traefik#1073 and traefik/traefik#1051. Edit: According to the above issues, default backends should now be supported. But it doesn't seem to be. May be I am missing something in the configuration. What you suggest works except for
So because you are in a range block,
I have been unable to verify the fix though. Not sure if its because I am using minikube. Here's what I did:
Let me know if I am missing something. The proposed fix to make ingress work with /cc @arvindsv , @GaneshSPatil |
@varshavaradarajan Thanks for your time. I also think it's a bug in |
@colachg - which version of traefik did you try it with? I used the helm chart, which had the app version 1.7.6 which is supposed to contain the fix for default backends. But, as I said, been unable to do so on minikube. It just brings up the page with Even for the proposed fix. On the traefik dashboard, I see that the test.go.cd backend (with the fix) shows up as healthy unlike the global default backend which appears as an error. But I still can't access test.go.cd. |
@varshavaradarajan em... Did you change your hosts file to make the host in ingress point to |
@colachg - yes. Here's what my hosts file has:
If I didn't have the entry, it should have shown could not connect instead of the |
@varshavaradarajan Haha, thanks for your quick respose. Do you have some IM channels(like discord or slack)? we can talk immediately there. Gocd server also have some errors in my environment.Maybe you can help me. |
@colachg - mind using gitter? Join https://gitter.im/gocd/gocd and DM me? |
Update: The proposed fix works with traefik. The error @colachg - can you please submit a PR so that this can be verified with GKE? I think that this issue should be fixed as it does not affect the way requests are handled when used with nginx or gce ingress controllers and allows for gocd to work with |
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
FEATURE REQUEST
Version of Helm and Kubernetes:
helm v2.12.1
kubernetes v1.12.4
Which chart:
stable/gocd
Anything else we need to know:
In file "gocd/templates/ingress.yaml":
I would like to change
spec
from
to
Because when I use the default ingress config I can not access gocd by the hostname that I defined in
values.yaml
.I deploy gocd behind traefik.
Here is the error log:
"level":"warning","msg":"Error in ingress: HTTP is nil"
@varshavaradarajan Could you check this? Thanks.
The text was updated successfully, but these errors were encountered: