-
Notifications
You must be signed in to change notification settings - Fork 592
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: don't configure Kong Gateways with incompatible router flavor
- Loading branch information
Showing
9 changed files
with
120 additions
and
34 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package configuration | ||
|
||
// RouterFlavor is the type for Kong Gateway router flavors. | ||
// Ref: https://docs.konghq.com/kubernetes-ingress-controller/latest/references/supported-router-flavors | ||
type RouterFlavor string | ||
|
||
const ( | ||
// RouterFlavorTraditional is one of Kong Gateway router flavors. | ||
RouterFlavorTraditional RouterFlavor = "traditional" | ||
// RouterFlavorTraditionalCompatible is one of Kong Gateway router flavors. | ||
RouterFlavorTraditionalCompatible RouterFlavor = "traditional_compatible" | ||
// RouterFlavorExpressions is one of Kong Gateway router flavors. | ||
// Ref: https://docs.konghq.com/gateway/latest/reference/router-expressions-language/ | ||
RouterFlavorExpressions RouterFlavor = "expressions" | ||
) |
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
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
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
Oops, something went wrong.