Comments (8)
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:
- ssl-require: if this annotation is present, would disable the HTTP listener if HTTPS is specified in the ingress
- 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.
Fixed by #120
from application-gateway-kubernetes-ingress.
@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.
That is indeed what we want.
from application-gateway-kubernetes-ingress.
@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.
@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.
@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.
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)
- Support regex in AzureIngressProhibitedTarget HOT 1
- Public IP HTTPS fails when creating private IP HTTPS ingress HOT 3
- AGIC is cannot list resource "azureapplicationgatewayrewrites" in API group "appgw.ingress.azure.io" at the cluster scope HOT 15
- From ingress annotations, which one helps create backend pool in app gateway
- AGIC does not create dedicated pool & target for shared App Gateway HOT 1
- appgw support - Monitor managed Prometheus
- ingress appgw pod - forced restart necessary to create listener etc. for new frontend ip HOT 1
- [Help request] How to redirect from non-www to www site
- How to remove "defaulthttpsetting" because it raises security issue
- az cli command from install guide evaluates with empty value
- Unable to create AzureIngressProhibitedTarget on AKS HOT 2
- AGIC is wiping out my backend pools
- Terraform wipes out AGIC's backends on each deploy HOT 4
- 502 Bad Gateway and unhealthy probe in AGIC AppGW HOT 2
- AAD Pod Identity - archived and is no longer maintained. HOT 3
- Need to cretae a Application Gateway WAF policy resource lock enable policy
- Dualstack annotation
- ProhibitedTargets has incorrect path requirement HOT 1
- `appgw.ingress.kubernetes.io/appgw-ssl-profile` does not allow predefined ssl profiles HOT 1
- Application gateway redirects to value set in backend-hostname (used for SSL)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from application-gateway-kubernetes-ingress.