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 14, 2024
1 parent 12671de commit 43bbc50
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
6 changes: 5 additions & 1 deletion charts/data-gateway/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ description: A GraphQL router deployment forming the Diamond Data Gateway
type: application

version: 0.1.0

dependencies:
- 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
@@ -0,0 +1,22 @@
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 43bbc50

Please sign in to comment.