-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(helm): backport HTTP 2 configuration from gravitee.yml to helm v…
…alues Previously the `http.alpn` option was hardcoded as `true` in `gravitee.yml`. Now we add the option `gateway.http.alpn` to configure it in helm `values.yml` which is set to `true` by default for backward compatibility. DEVOPS-282 DEVOPS-268
- Loading branch information
Showing
4 changed files
with
50 additions
and
2 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
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,47 @@ | ||
suite: Test Gateway configmap section alpn | ||
templates: | ||
- "gateway/gateway-configmap.yaml" | ||
tests: | ||
- it: Default ALPN value (true) | ||
template: gateway/gateway-configmap.yaml | ||
asserts: | ||
- hasDocuments: | ||
count: 1 | ||
- isKind: | ||
of: ConfigMap | ||
- matchRegex: | ||
path: data.[gravitee.yml] | ||
pattern: | | ||
alpn: true | ||
- it: Enable ALPN | ||
template: gateway/gateway-configmap.yaml | ||
set: | ||
gateway: | ||
http: | ||
alpn: "true" | ||
asserts: | ||
- hasDocuments: | ||
count: 1 | ||
- isKind: | ||
of: ConfigMap | ||
- matchRegex: | ||
path: data.[gravitee.yml] | ||
pattern: | | ||
alpn: true | ||
- it: Disable ALPN | ||
template: gateway/gateway-configmap.yaml | ||
set: | ||
gateway: | ||
http: | ||
alpn: "false" | ||
asserts: | ||
- hasDocuments: | ||
count: 1 | ||
- isKind: | ||
of: ConfigMap | ||
- matchRegex: | ||
path: data.[gravitee.yml] | ||
pattern: | | ||
alpn: false |
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