projectcontour / projectcontour/contour

ExtensionService should support requestHeadersPolicy

Open
#5,396 5 comments 2 reactions 0 assignees View on GitHub
help wanted kind/feature lifecycle/needs-triage
Dominant language
HTML
Stars
3.9k
Forks
728
Avg merge
17h 41m
Merged PRs (30d)
36

Description

**Please describe the problem you have**
[A clear, concise, description of the problem you are facing. What is the _problem_ that feature X would solve for you?]

I'm trying to set `requestHeadersPolicy` for an `ExtensionService` in order to set the `Host` header. This is important in 2 scenarios for me:
1. Using an ExternalName service for deployments in Google Cloud Run with ExtensionService that requires the Host header to be rewritten
2. Using a service with Knative Serving where Host headers need to be included in the request

Is there any way to do this now? It would be great to have ExternalAuthorization work against a DNS that's outside the cluster or within the cluster but running on Knative Serving.

Contributor guide

Open the contributing guide

Research direction

Start by tracing Contour's Kubernetes ExtensionService and ExternalAuthorization entry points, focusing on how requestHeadersPolicy is represented. Confirm the configuration needed to rewrite the Host header for external DNS and Knative Serving services; done means those authorization targets can receive the required Host header.

Written by the indexing model from the issue text.

Assessment

Tech stack
google-cloud, kubernetes
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.