Skip to content

No way to provide more set input headers on request other than snippet annotations in ingress. #12945

@msinghal123

Description

@msinghal123

I am currently using configuration-snippet to set input headers and clear input headers.
annotations:
nginx.ingress.kubernetes.io/configuration-snippet: |
more_clear_input_headers "WL-Proxy-Client-IP" "WL-Proxy-SSL";
more_set_input_headers "X-Forwarded-Proto: https";
more_set_input_headers "WL-Proxy-SSL: true";

There's a CVE reported on this kubernetes/kubernetes#126811 and the CVE occurs only when SnippetAnnotations are allowed

I am looking for alternate solution and I did not find any.

Can we have annotations for set input headers anc clear input headers as well like we have custom-headers?

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.needs-priorityneeds-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions