-
While working with the helm chart of the router, where should I put the plugins section? I am trying to add the plugin for redacted errors as I want to show the errors to the client. Note: I have tried different combinations already like putting the following block under these sections: router.configuration, router.plugins, plugins (at root)
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Apollo plugins have their configuration defined at the root level. So, if running a router natively, your configuration file should include:
To deploy a router with this configuration to k8s using our helm chart, your values.yaml should include:
plus whatever other configuration you desire. Our docs are helpful: https://www.apollographql.com/docs/router/configuration/subgraph-error-inclusion |
Beta Was this translation helpful? Give feedback.
Apollo plugins have their configuration defined at the root level.
So, if running a router natively, your configuration file should include:
To deploy a router with this configuration to k8s using our helm chart, your values.yaml should include:
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