Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting multiple header values in KongRoute's spec #234

Open
1 task
czeslavo opened this issue Jan 17, 2025 · 0 comments
Open
1 task

Allow setting multiple header values in KongRoute's spec #234

czeslavo opened this issue Jan 17, 2025 · 0 comments

Comments

@czeslavo
Copy link
Contributor

Problem Statement

KongRoute's spec.headers field was initially defined as map[string]string while the real type expected by the Konnect API is map[string][]string. The goal of this issue is to allow setting multiple values of the same header.

Proposed Solution

As the API is already public, we should not break the schema. Because of that, adding a new headerValues (name to be discussed) field is proposed, deprecating the old headers at the same time.

Acceptance Criteria

  • It is possible to set multiple values for a single header key in the KongRoute's spec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant