Commit graph

3 commits

Author SHA1 Message Date
k8s-infra-cherrypick-robot
abca410e07
Go: Replace golang.org/x/exp/slices with slices. (#12781)
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
Co-authored-by: Eng Zer Jun <engzerjun@gmail.com>
2025-02-03 06:22:59 -08:00
k8s-infra-cherrypick-robot
1245626c4a
Annotations: Reload on custom header changes. (#12652)
Co-authored-by: jgoelen <jurgen.goelen@vlaanderen.be>
2025-01-09 14:28:32 -08:00
Christian Groschupp
1f4ee0e235
feat: add annotation to allow to add custom response headers (#9742)
* add custom headers

Signed-off-by: Christian Groschupp <christian@groschupp.org>

* add tests

Signed-off-by: Christian Groschupp <christian@groschupp.org>

* add docs

* update copyright

* change comments

* add e2e test customheaders

* add custom headers validation

* remove escapeLiteralDollar filter

* validate value in custom headers

* add regex for header value

* fix annotation test

* Revert "remove escapeLiteralDollar filter"

This reverts commit ab48392b60dee4ce146a4c17e046849f9633c7fb.

* add annotationConfig

* fix test

* fix golangci-lint findings

* fix: add missung exp module

---------

Signed-off-by: Christian Groschupp <christian@groschupp.org>
2024-04-09 03:25:22 -07:00