ingress-nginx-helm/internal/ingress/annotations
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
..
alias Fix golangci-lint errors (#10196) 2023-08-31 00:36:48 -07:00
auth Fix golangci-lint errors (#10196) 2023-08-31 00:36:48 -07:00
authreq golangci-lint update, ci cleanup, group dependabot updates (#11071) 2024-03-07 02:39:53 -08:00
authreqglobal Fix golangci-lint errors (#10196) 2023-08-31 00:36:48 -07:00
authtls annotation validation: validate regex in common name annotation (#10657) 2024-01-04 15:56:57 +01:00
backendprotocol Fix golangci-lint errors (#10196) 2023-08-31 00:36:48 -07:00
canary golangci-lint update, ci cleanup, group dependabot updates (#11071) 2024-03-07 02:39:53 -08:00
clientbodybuffersize Fix golangci-lint errors (#10196) 2023-08-31 00:36:48 -07:00
connection Fix golangci-lint errors (#10196) 2023-08-31 00:36:48 -07:00
cors fix(cors): ensure trailing comma treated as empty value to be ignored (#10616) 2023-11-07 19:02:48 +01:00
customheaders feat: add annotation to allow to add custom response headers (#9742) 2024-04-09 03:25:22 -07:00
customhttperrors Fix golangci-lint errors (#10196) 2023-08-31 00:36:48 -07:00
defaultbackend Fix golangci-lint errors (#10196) 2023-08-31 00:36:48 -07:00
disableproxyintercepterrors Add override for proxy_intercept_errors when using Custom HTTP Errors (#9497) 2023-11-17 05:43:54 +01:00
fastcgi Fix fcgi configmap value parsing (#10528) 2023-10-17 01:10:16 +02:00
globalratelimit Fix golangci-lint errors (#10196) 2023-08-31 00:36:48 -07:00
http2pushpreload Fix golangci-lint errors (#10196) 2023-08-31 00:36:48 -07:00
ipallowlist Fix golangci-lint errors (#10196) 2023-08-31 00:36:48 -07:00
ipdenylist Fix golangci-lint errors (#10196) 2023-08-31 00:36:48 -07:00
loadbalancing Fix golangci-lint errors (#10196) 2023-08-31 00:36:48 -07:00
log Fix golangci-lint errors (#10196) 2023-08-31 00:36:48 -07:00
mirror Fix golangci-lint errors (#10196) 2023-08-31 00:36:48 -07:00
modsecurity Disable user snippets per default (#10393) 2023-09-10 20:02:10 -07:00
opentelemetry Fix golangci-lint errors (#10196) 2023-08-31 00:36:48 -07:00
parser golangci-lint update, ci cleanup, group dependabot updates (#11071) 2024-03-07 02:39:53 -08:00
portinredirect Implement annotation validation (#9673) 2023-07-21 20:32:07 -07:00
proxy Disable user snippets per default (#10393) 2023-09-10 20:02:10 -07:00
proxyssl Fix golangci-lint errors (#10196) 2023-08-31 00:36:48 -07:00
ratelimit Fix golangci-lint errors (#10196) 2023-08-31 00:36:48 -07:00
redirect Fix golangci-lint errors (#10196) 2023-08-31 00:36:48 -07:00
rewrite Bump go libraries (#11023) 2024-02-27 09:52:42 -08:00
satisfy Fix golangci-lint errors (#10196) 2023-08-31 00:36:48 -07:00
serversnippet Fix golangci-lint errors (#10196) 2023-08-31 00:36:48 -07:00
serviceupstream Fix golangci-lint errors (#10196) 2023-08-31 00:36:48 -07:00
sessionaffinity fix: adjust unfulfillable validation check for session-cookie-samesite annotation (#10600) 2023-11-01 23:09:00 +01:00
snippet Fix golangci-lint errors (#10196) 2023-08-31 00:36:48 -07:00
sslcipher Include SECLEVEL and STRENGTH as part of ssl-cipher list validation (#10754) 2024-01-05 15:50:34 +01:00
sslpassthrough Fix golangci-lint errors (#10196) 2023-08-31 00:36:48 -07:00
streamsnippet Fix golangci-lint errors (#10196) 2023-08-31 00:36:48 -07:00
upstreamhashby Fix golangci-lint errors (#10196) 2023-08-31 00:36:48 -07:00
upstreamvhost Implement annotation validation (#9673) 2023-07-21 20:32:07 -07:00
xforwardedprefix fix: Validate x-forwarded-prefix annotation with RegexPathWithCapture (#10598) 2023-11-01 23:08:51 +01:00
annotations.go feat: add annotation to allow to add custom response headers (#9742) 2024-04-09 03:25:22 -07:00
annotations_test.go feat: add annotation to allow to add custom response headers (#9742) 2024-04-09 03:25:22 -07:00