Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: controller panics for default backend services. #511

Closed
hbagdi opened this issue Jan 20, 2020 · 0 comments · Fixed by #515
Closed

bug: controller panics for default backend services. #511

hbagdi opened this issue Jan 20, 2020 · 0 comments · Fixed by #515

Comments

@hbagdi
Copy link
Member

hbagdi commented Jan 20, 2020

Summary

If default backend is declared in an Ingress resource, the controller panics

Kong Ingress controller version

0.7.0
This is not a problem with 0.6.0

Kong or Kong Enterprise version

1.4.3

Kubernetes version

1.15

Environment

  • Cloud provider or hardware configuration: GKE

Steps To Reproduce

echo "apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: test
spec:
  backend:
    serviceName: billing
    servicePort: 80
  tls:
  - hosts:
    - foo.com
    secretName: tls-secret" | kubectl apply -f -

The controller crashes due to a nil pointer reference.

hbagdi added a commit that referenced this issue Jan 22, 2020
service.Protocol needs to be set otherwise the code panics.

Fix #511
hbagdi added a commit that referenced this issue Jan 27, 2020
service.Protocol needs to be set otherwise the code panics.

Fix #511
From #515
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant