Skip to content
This repository was archived by the owner on Jul 23, 2024. It is now read-only.

Commit 46cb96c

Browse files
Add helm charts for apollo router
1 parent 4efcbad commit 46cb96c

File tree

4 files changed

+42
-3
lines changed

4 files changed

+42
-3
lines changed

charts/xchemlab/Chart.lock

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,14 @@ dependencies:
3838
- name: rabbitmq
3939
repository: oci://docker.io/bitnamicharts
4040
version: 12.0.7
41+
- name: router
42+
repository: oci://ghcr.io/apollographql/helm-charts
43+
version: 1.41.1
4144
- name: oauth2-proxy
4245
repository: oci://registry-1.docker.io/bitnamicharts
4346
version: 3.7.4
4447
- name: oauth2-proxy
4548
repository: oci://registry-1.docker.io/bitnamicharts
4649
version: 3.7.4
47-
digest: sha256:a634cb025d1c7c8a262ad068b91942e57b3d01fb93c360c280325025c7847a1f
48-
generated: "2024-03-07T11:33:00.477078341Z"
50+
digest: sha256:392add4e5d0d1eadb60a80376f5422e17b58638eb604042e90381aa8a9ce7f71
51+
generated: "2024-03-13T12:10:55.03395991Z"

charts/xchemlab/Chart.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type: application
66
# This is the chart version. This version number should be incremented each time you make changes
77
# to the chart and its templates, including the app version.
88
# Versions are expected to follow Semantic Versioning (https://semver.org/)
9-
version: 0.10.0
9+
version: 0.11.0
1010

1111
dependencies:
1212
- name: chimp-chomp
@@ -55,6 +55,10 @@ dependencies:
5555
repository: oci://docker.io/bitnamicharts
5656
version: 12.0.7
5757
condition: rabbitmq.enabled
58+
- name: router
59+
repository: oci://ghcr.io/apollographql/helm-charts
60+
version: 1.41.1
61+
condition: apollo-router.enabled
5862
- alias: oauth2-proxy-thanos
5963
name: oauth2-proxy
6064
repository: oci://registry-1.docker.io/bitnamicharts
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: v1
2+
kind: Secret
3+
type: Opaque
4+
metadata:
5+
name: router-apikey
6+
namespace: xchemlab
7+
data:
8+
managedFederationApiKey: c2VydmljZTp4Y2hlbWxhYjo3OEJRazlNTmlTMTREd0dHZkdOOWZ3

charts/xchemlab/values.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,30 @@ postgresql-ha:
190190
storageClass: db-nvme-storage
191191
size: 50Gi
192192

193+
router:
194+
enabled: true
195+
managedFederation:
196+
existingSecret: router-apikey
197+
graphRef: xchemlab@current
198+
ingress:
199+
enabled: true
200+
hosts:
201+
- host: xchemlab.diamond.ac.uk
202+
paths:
203+
- path: /
204+
pathType: Prefix
205+
router:
206+
args:
207+
- --hot-reload
208+
- --dev
209+
resources:
210+
requests:
211+
cpu: 100m
212+
memory: 128Mi
213+
limits:
214+
cpu: 1
215+
memory: 128Mi
216+
193217
prometheus:
194218
enabled: true
195219

0 commit comments

Comments
 (0)