Giter Site home page Giter Site logo

Comments (8)

robertprather avatar robertprather commented on May 27, 2024 3

I support all previous comments on this thread and would like to see this implemented ASAP.

Using the application gateway to enable the HTTPS listener and perform SSL offload to the K8S cluster is working great, but leaving the HTTP listener enabled is causing us grief with our security team. We want the ingress controller to update the gateway and set the desired state without manual updates.

An annotation would work, suggest 2 possible ones:

  1. ssl-require: if this annotation is present, would disable the HTTP listener if HTTPS is specified in the ingress
  2. ssl-redirect: if this annotation is present, would keep both the HTTP and HTTPS listeners present on the gateway, but apply a redirect rule for HTTP -> HTTPS (k8s--80-rr rule would redirect k8s--80-fl listener to k8s--443-fl listener)

from application-gateway-kubernetes-ingress.

asridharan avatar asridharan commented on May 27, 2024 1

Fixed by #120

from application-gateway-kubernetes-ingress.

asridharan avatar asridharan commented on May 27, 2024

@wesselkranenborg make sense. Just to clarify, you want the HTTP listener to be disabled if we specify only HTTPS in the ingress right?

from application-gateway-kubernetes-ingress.

wesselkranenborg avatar wesselkranenborg commented on May 27, 2024

That is indeed what we want.

from application-gateway-kubernetes-ingress.

dan-jackson-github avatar dan-jackson-github commented on May 27, 2024

@asridharan can you indicate when the annotation support for disabling HTTP access will be available? Creating an HTTP endpoint by default really isn't ideal and means more manual work to do remember after deployment

from application-gateway-kubernetes-ingress.

asridharan avatar asridharan commented on May 27, 2024

@wesselkranenborg @robertprather have a partial fix for this problem in
#120

Its partial since even after this PR we won't have support for SSL-redirect on HTTP listeners. Will work on that after this PR. Wanted to check if it would help resolve this issue?

from application-gateway-kubernetes-ingress.

asridharan avatar asridharan commented on May 27, 2024

@wesselkranenborg @dan-jackson-github @robertprather can you try helm chart 0.3.0 which has the fix for this issue?

Thanks,
Avinash

from application-gateway-kubernetes-ingress.

robertprather avatar robertprather commented on May 27, 2024

I've tried helm chart 0.3.0 and it works as expected - no http listener created. Rob

from application-gateway-kubernetes-ingress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.