Skip to content

Commit

Permalink
Sync Gloo APIs. Destination Branch: gloo-main
Browse files Browse the repository at this point in the history
  • Loading branch information
soloio-bot committed Aug 16, 2023
1 parent 8d53336 commit b754123
Show file tree
Hide file tree
Showing 11 changed files with 73 additions and 20 deletions.
9 changes: 8 additions & 1 deletion api/gloo/enterprise.gloo/v1/auth_config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,8 @@ message PassThroughHttp {
message Response {
// When this is set, authorization response headers that have a header in this list will be added to the original client request and sent to the upstream
// when the auth request is successful. These will be appended to any request headers that already exist.
// If this is empty, by default, no authorization response headers will be added to the upstream request.
// If this and allowed_upstream_headers_to_override are empty, by default, no authorization response headers will be added to the upstream request.
// Header names may not be included in both allowed_upstream_headers and allowed_upstream_headers_to_override.
repeated string allowed_upstream_headers = 1;

// When this is set, authorization response headers in this list will be added to the client's response when the auth request is denied.
Expand All @@ -1255,6 +1256,12 @@ message PassThroughHttp {
// If the marshalling fails, the authorization check will fail and the request will be unauthorized after the ext-auth-service pod
// logs the marshal error.
bool read_state_from_response = 3;

// When this is set, authorization response headers that have a header in this list will be added to the original client request and sent to the upstream
// when the auth request is successful. These will overwrite to any request headers that already exist.
// If this and allowed_upstream_headers are empty, by default, no authorization response headers will be added to the upstream request.
// Header names may not be included in both allowed_upstream_headers and allowed_upstream_headers_to_override.
repeated string allowed_upstream_headers_to_override = 4;
}
Response response = 4;

Expand Down
2 changes: 1 addition & 1 deletion api/gloo/gloo/v1/enterprise/options/caching/caching.proto
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ message Settings {
// Max payload size to cache. If unset defaults to a reasonable value.
// If explicitly set to 0 will prevent anything with a body from
// being cached.
google.protobuf.UInt64Value max_payload_size = 4;
google.protobuf.UInt32Value max_payload_size = 4;


}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ message ConnectionLimit {
// The maximum number of active connections for this gateway. When this limit is reached, any incoming connection
// will be closed after delay duration.
// Must be greater than one.
google.protobuf.UInt64Value max_active_connections = 1;
google.protobuf.UInt32Value max_active_connections = 1;

// The time to wait before a connection is dropped. Useful for DoS prevention.
// Defaults to zero and the connection will be closed immediately.
Expand Down
9 changes: 9 additions & 0 deletions pkg/api/enterprise.gloo.solo.io/v1/auth_config.pb.clone.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions pkg/api/enterprise.gloo.solo.io/v1/auth_config.pb.equal.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 21 additions & 3 deletions pkg/api/enterprise.gloo.solo.io/v1/auth_config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions pkg/api/enterprise.gloo.solo.io/v1/auth_config.pb.hash.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions pkg/api/gloo.solo.io/v1/enterprise/options/caching/caching.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b754123

Please sign in to comment.