Skip to content

Where to put plugins config? #1909

Answered by garypen
jksjaz asked this question in Q&A
Sep 29, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Apollo plugins have their configuration defined at the root level.

So, if running a router natively, your configuration file should include:

include_subgraph_errors:
  all: true

To deploy a router with this configuration to k8s using our helm chart, your values.yaml should include:

router:
  configuration:
    include_subgraph_errors:
      all: true

plus whatever other configuration you desire.

Our docs are helpful:

https://www.apollographql.com/docs/router/configuration/subgraph-error-inclusion
https://github.com/apollographql/router/tree/dev/helm/chart/router

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jksjaz
Comment options

@garypen
Comment options

Answer selected by jksjaz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants