-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release-1.0] Introduce
KOURIER_HTTPOPTION_DISABLED
env variable to…
… disable redirect (#706) * Introduce KOURIER_HTTPOPTION_DISABLED env variable to disable HTTPOption This patch introduces `KOURIER_HTTPOPTION_DISABLED` env variable to stop creating redirect route when it is set. This option is useful when front end proxy handles the redirection. e.g. Kourier on OpenShift handles HTTPOption by OpenShift Route so KOURIER_HTTPOPTION_DISABLED should be set. * Fix lint in ingress_translator_test.go * Fix lint * Use t.Setenv Co-authored-by: Kenjiro Nakayama <[email protected]>
- Loading branch information
1 parent
1d908e1
commit 2c32dfd
Showing
2 changed files
with
186 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters