Plugin Rewrite Response Headers Middleware
Appears in
.Values.middlewares.$name.data
pluginName
Define the pluginName
Key | middlewares.$name.data.pluginName |
Type | string |
Required | ❌ |
Helm tpl | ❌ |
Default | rewriteResponseHeaders |
Example
rewrites
Define the rewrites
Key | middlewares.$name.data.rewrites |
Type | list of map |
Required | ✅ |
Helm tpl | ❌ |
Default | - |
Example
rewrites[].header
Define the header
Key | middlewares.$name.data.rewrites.header |
Type | string |
Required | ✅ |
Helm tpl | ❌ |
Default | - |
Example
rewrites[].regex
Define the regex
Key | middlewares.$name.data.regex |
Type | string |
Required | ✅ |
Helm tpl | ❌ |
Default | - |
Example
rewrites[].replacement
Define the replacement
Key | middlewares.$name.data.replacement |
Type | string |
Required | ✅ |
Helm tpl | ❌ |
Default | - |
Example