[Kubernetes] Allow to set custom headers on specific paths in ingress #4228
Labels
area/provider/k8s/ingress
contributor/wanted
Participation from an external contributor is highly requested
kind/enhancement
a new or improved feature.
priority/P3
maybe
Do you want to request a feature or report a bug?
Feature
What did you expect to see?
ATM annotations cannot be applied on specific paths like e.g.
ingress.kubernetes.io/custom-response-headers
. For example take the case of applyingcache-control
headers on static resources like .js, .png files.We can
However the headers will be applied to all the paths. If possible we can apply a regex before specifying the each header to indicate on what files the header should be applied. If no regex is defined then it should apply on all something like this
would be good.
Further it would be great if this can be applied to specific path e.g.
The text was updated successfully, but these errors were encountered: