Skip to content

Commit

Permalink
Use mounted supergraph file to provide schema
Browse files Browse the repository at this point in the history
  • Loading branch information
garryod committed Jul 17, 2024
1 parent 9f366d0 commit 1322729
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions charts/graph/values.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
router:
enabled: true
managedFederation:
existingSecret: router-apikey
graphRef: data-gateway-n63jcf@current
args:
- --hot-reload
podAnnotations:
Expand Down Expand Up @@ -36,6 +33,18 @@ router:
instrumentation:
spans:
mode: spec_compliant
extraVolumes:
- name: supergraph
configMap:
name: "{{ .Release.Name }}-supergraph-schema"
items:
- key: supergraph.graphql
path: supergraph.graphql
extraVolumeMounts:
- name: supergraph
mountPath: /etc/apollo/
readonly: true
supergraphFile: /etc/apollo/supergraph.grahql
resources:
requests:
cpu: 8
Expand Down

0 comments on commit 1322729

Please sign in to comment.