Skip to content

Latest commit

 

History

History
63 lines (45 loc) · 1.96 KB

NEXT_CHANGELOG.md

File metadata and controls

63 lines (45 loc) · 1.96 KB

Changelog for the next release

All notable changes to Router will be documented in this file.

This project adheres to Semantic Versioning.

[x.x.x] (unreleased) - 2022-mm-dd

❗ BREAKING ❗

🚀 Features

Add a supergraph configmap option to the helm chart (PR #2119)

Adds the capability to create a configmap containing your supergraph schema. Here's an example of how you could make use of this from your values.yaml and with the helm install command.

extraEnvVars:
  - name: APOLLO_ROUTER_SUPERGRAPH_PATH
    value: /data/supergraph-schema.graphql

extraVolumeMounts:
  - name: supergraph-schema
    mountPath: /data
    readOnly: true

extraVolumes:
  - name: supergraph-schema
    configMap:
      name: "{{ .Release.Name }}-supergraph"
      items:
        - key: supergraph-schema.graphql
          path: supergraph-schema.graphql

With that values.yaml content, and with your supergraph schema in a file name supergraph-schema.graphql, you can execute:

helm upgrade --install --create-namespace --namespace router-test --set-file supergraphFile=supergraph-schema.graphql router-test oci://ghcr.io/apollographql/helm-charts/router --version 1.0.0-rc.9 --values values.yaml

By @garypen in apollographql#2119

🐛 Fixes

🛠 Maintenance

📚 Documentation