Skip to content

Commit

Permalink
Apollo router - Initial setup
Browse files Browse the repository at this point in the history
  • Loading branch information
iamvigneshwars committed Mar 15, 2024
1 parent e24b8ff commit 8de5568
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 3 deletions.
7 changes: 5 additions & 2 deletions charts/data-gateway/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@ dependencies:
- name: opentelemetry-collector
repository: https://open-telemetry.github.io/opentelemetry-helm-charts
version: 0.83.0
digest: sha256:c64dbb83ab863fb6f4c83dd8fc4505508072fda7b83f3ae1d1ac96af4b3b0c5f
generated: "2024-03-14T11:22:20.559143777Z"
- name: router
repository: oci://ghcr.io/apollographql/helm-charts
version: 1.41.1
digest: sha256:c33267c54daddb2c5ce7934886e0c734a1c2a04eb1c4360e8be0aacc191120c6
generated: "2024-03-14T15:16:23.516231741Z"
6 changes: 5 additions & 1 deletion charts/data-gateway/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: data-gateway
description: A GraphQL router deployment forming the Diamond Data Gateway
type: application

version: 0.2.0
version: 0.3.0

dependencies:
- name: prometheus
Expand All @@ -18,3 +18,7 @@ dependencies:
repository: https://open-telemetry.github.io/opentelemetry-helm-charts
version: 0.83.0
condition: opentelemetry-collector.enabled
- name: router
repository: oci://ghcr.io/apollographql/helm-charts
version: 1.41.1
condition: apollo-router.enabled
22 changes: 22 additions & 0 deletions charts/data-gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -205,3 +205,25 @@ opentelemetry-collector:
- batch
exporters:
- otlp/jaeger
router:
enabled: true
managedFederation:
graphRef: data-gateway@current
ingress:
enabled: true
hosts:
- host: data-gateway.diamond.ac.uk
paths:
- path: /
pathType: Prefix
router:
args:
- --hot-reload
- --dev
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 1
memory: 128Mi

0 comments on commit 8de5568

Please sign in to comment.