Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api for propagating OAS security headers to upstreams when using graphql #9693

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

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

5 changes: 5 additions & 0 deletions install/helm/gloo/crds/gloo.solo.io_v1_Settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,11 @@ spec:
x-kubernetes-int-or-string: true
fdsOptions:
properties:
graphql:
properties:
upstreamAuthHeaders:
type: boolean
type: object
graphqlEnabled:
nullable: true
type: boolean
Expand Down
7 changes: 7 additions & 0 deletions projects/gloo/api/v1/settings.proto
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,13 @@ message Settings {
message FdsOptions {
// Enable function discovery service on GraphQL gRPC and OpenApi upstreams. Defaults to true.
google.protobuf.BoolValue graphql_enabled = 1;
message GraphqlOptions {
// Copy auth headers specified in the openapi-schema from the downstream request to the upstream request
bool upstream_auth_headers = 1;
}
// Ooptions to tune graphql discovery behavior
GraphqlOptions graphql = 2;

}

FdsOptions fds_options = 3;
Expand Down
19 changes: 19 additions & 0 deletions projects/gloo/pkg/api/v1/settings.pb.clone.go

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

38 changes: 38 additions & 0 deletions projects/gloo/pkg/api/v1/settings.pb.equal.go

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

Loading