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

HTTS frontend listener isn't deleted after setting ingress.allow-http: "false" annotation #766

Closed
giladsh1 opened this issue Jun 10, 2019 · 1 comment

Comments

@giladsh1
Copy link

I've created an Ingress controller in my GKE cluster with the default settings.
After applying the manifest, an HTTP(s) load balancer was created with 2 listeners - one for HTTP and another for HTTPS - as expected.

After adding the kubernetes.io/ingress.allow-http: "false" annotation to my Ingress config, and applying it to GKE, The HTTP frontend doens't get deleted.
I had to manually delete it via the UI.

config -

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: riscale-ingress
  annotations:
    kubernetes.io/ingress.global-static-ip-name: test-ip
    networking.gke.io/managed-certificates: test-certificate
    kubernetes.io/ingress.allow-http: "false"
spec:
  rules:
  - http:
      paths:
      - path: /d/*
        backend:
          serviceName: http
          servicePort: 2000
      - path: /*
        backend:
          serviceName: web-console
          servicePort: 4200
@MrHohn
Copy link
Member

MrHohn commented Jun 10, 2019

@giladsh1 Thanks for reporting the issue. Closing this as it is pretty much a duplicate of #32. Feel free to reopen otherwise.

@MrHohn MrHohn closed this as completed Jun 10, 2019
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

No branches or pull requests

2 participants