-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Implement setting common TLS parameters in ClientTrafficPolicy (#…
…2297) * api: Add TLS configuration attributes in ClientTrafficPolicy Signed-off-by: Lior Okman <lior.okman@sap.com> * Fixed typos in the comments. Signed-off-by: Lior Okman <lior.okman@sap.com> * Updated the comment for `TLSSettings`. Signed-off-by: Lior Okman <lior.okman@sap.com> * Regenerated after rebasing Signed-off-by: Lior Okman <lior.okman@sap.com> * api: Add TLS configuration attributes in ClientTrafficPolicy Signed-off-by: Lior Okman <lior.okman@sap.com> * feat: Implement setting common TLS parameters in ClientTrafficPolicy. Depends on #2287. Signed-off-by: Lior Okman <lior.okman@sap.com> * Fixed linter and gen-check errors Signed-off-by: Lior Okman <lior.okman@sap.com> * Implement the changes required after the reviewed API Signed-off-by: Lior Okman <lior.okman@sap.com> * Set ALPN protocols in QUIC in the same way as in HTTPS Signed-off-by: Lior Okman <lior.okman@sap.com> * * Regenerated and recreated the manifests after rebase * Make the new tests pass Signed-off-by: Lior Okman <lior.okman@sap.com> * Alphabetize the output test yamls to make "gen-check" pass Signed-off-by: Lior Okman <lior.okman@sap.com> * * Remove references to the API from the XDS layer * Use non API types in the IR structure * Rename TLSListenerConfig to TLSConfig * Use string slices instead of Enum slices for ALPN in the IR structure Signed-off-by: Lior Okman <lior.okman@sap.com> * Changed the TLS protocol version constants to have a dot instead of an underscore separator. Signed-off-by: Lior Okman <lior.okman@sap.com> * * Reworked the ALPN logic so that an empty array in the IR layer translates to the required defaults in the XDS layer * Fixed translation issues between the ALPN constants and the values required on the XDS level Signed-off-by: Lior Okman <lior.okman@sap.com> * Make gen-check pass Signed-off-by: Lior Okman <lior.okman@sap.com> * * Require that ALPN constants are also valid ALPN identification strings. * Replace the user-facing "http/2" ALPN string with "h2". Signed-off-by: Lior Okman <lior.okman@sap.com> --------- Signed-off-by: Lior Okman <lior.okman@sap.com>
- Loading branch information
Showing
121 changed files
with
814 additions
and
191 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
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
Empty file modified
0
internal/gatewayapi/testdata/backendtrafficpolicy-with-circuitbreakers-error.out.yaml
100755 → 100644
Empty file.
Empty file modified
0
internal/gatewayapi/testdata/backendtrafficpolicy-with-circuitbreakers.out.yaml
100755 → 100644
Empty file.
Empty file modified
0
internal/gatewayapi/testdata/backendtrafficpolicy-with-loadbalancer.out.yaml
100755 → 100644
Empty file.
Empty file modified
0
...api/testdata/backendtrafficpolicy-with-local-ratelimit-default-route-level-limit.out.yaml
100755 → 100644
Empty file.
Empty file modified
0
...gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-invalid-limit-unit.out.yaml
100755 → 100644
Empty file.
Empty file modified
0
...gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-invalid-match-type.out.yaml
100755 → 100644
Empty file.
Empty file modified
0
...ta/backendtrafficpolicy-with-local-ratelimit-invalid-multiple-route-level-limits.out.yaml
100755 → 100644
Empty file.
Empty file modified
0
internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit.out.yaml
100755 → 100644
Empty file.
Empty file modified
0
internal/gatewayapi/testdata/backendtrafficpolicy-with-proxyprotocol.out.yaml
100755 → 100644
Empty file.
Empty file modified
0
internal/gatewayapi/testdata/backendtrafficpolicy-with-ratelimit-invalid-regex.out.yaml
100755 → 100644
Empty file.
Empty file modified
0
internal/gatewayapi/testdata/backendtrafficpolicy-with-ratelimit.out.yaml
100755 → 100644
Empty file.
Empty file modified
0
internal/gatewayapi/testdata/backendtrafficpolicy-with-same-prefix-httproutes.out.yaml
100755 → 100644
Empty file.
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
Empty file modified
0
internal/gatewayapi/testdata/clienttrafficpolicy-proxyprotocol.out.yaml
100755 → 100644
Empty file.
Empty file modified
0
internal/gatewayapi/testdata/clienttrafficpolicy-suppress-envoy-headers.out.yaml
100755 → 100644
Empty file.
Empty file modified
0
internal/gatewayapi/testdata/clienttrafficpolicy-tcp-keepalive.out.yaml
100755 → 100644
Empty file.
Oops, something went wrong.