kubernetes-ingress icon indicating copy to clipboard operation
kubernetes-ingress copied to clipboard

feat request: Allow frontend selection annotation for Ingress resource

Open mike-code opened this issue 1 year ago • 2 comments

I couldn't find it in the docs, but I assume that k8s Ingress resource is always mapped to haproxy default http and https frontends.

  1. I'd like to be able to pin the Ingress resource to just http or https
  2. After adding raw frontend snippet and/or custom port, to be able to use Ingress resource on that port/frontend as well, without exposing it to the default http/s frontends.

mike-code avatar Aug 26 '24 22:08 mike-code

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 28 '24 04:09 stale[bot]

up (remove stale)

mike-code avatar Sep 30 '24 00:09 mike-code

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Nov 04 '24 01:11 stale[bot]

hi @mike-code

with https://github.com/haproxytech/kubernetes-ingress/blob/master/documentation/controller.md#--disable-http and --disable-https flags you can disable http or https, but that will work for all ingresses

did you meant to do it like that or you want it per ingress ?

another option is to use https://github.com/haproxytech/kubernetes-ingress/blob/master/documentation/custom-resource-tcp.md but its different port then

oktalz avatar Nov 06 '24 11:11 oktalz