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

Commit

Permalink
Add helm charts for apollo router
Browse files Browse the repository at this point in the history
  • Loading branch information
iamvigneshwars committed Mar 13, 2024
1 parent 4efcbad commit c65894d
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 3 deletions.
7 changes: 5 additions & 2 deletions charts/xchemlab/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,14 @@ dependencies:
- name: rabbitmq
repository: oci://docker.io/bitnamicharts
version: 12.0.7
- name: router
repository: oci://ghcr.io/apollographql/helm-charts
version: 1.41.1
- name: oauth2-proxy
repository: oci://registry-1.docker.io/bitnamicharts
version: 3.7.4
- name: oauth2-proxy
repository: oci://registry-1.docker.io/bitnamicharts
version: 3.7.4
digest: sha256:a634cb025d1c7c8a262ad068b91942e57b3d01fb93c360c280325025c7847a1f
generated: "2024-03-07T11:33:00.477078341Z"
digest: sha256:392add4e5d0d1eadb60a80376f5422e17b58638eb604042e90381aa8a9ce7f71
generated: "2024-03-13T12:10:55.03395991Z"
6 changes: 5 additions & 1 deletion charts/xchemlab/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.10.0
version: 0.11.0

dependencies:
- name: chimp-chomp
Expand Down Expand Up @@ -55,6 +55,10 @@ dependencies:
repository: oci://docker.io/bitnamicharts
version: 12.0.7
condition: rabbitmq.enabled
- name: router
repository: oci://ghcr.io/apollographql/helm-charts
version: 1.41.1
condition: apollo-router.enabled
- alias: oauth2-proxy-thanos
name: oauth2-proxy
repository: oci://registry-1.docker.io/bitnamicharts
Expand Down
12 changes: 12 additions & 0 deletions charts/xchemlab/templates/router-apikey-secret.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: bitnami.com/v1alpha1
kind: SealedSecret
metadata:
name: router-apikey
namespace: xchemlab
spec:
encryptedData:
managedFederationApiKey: AgC16KXRwfTLl+eBBMOwQzW3RWMvJOVe9nNUYivBKgNj85hnOp9RKkwOOwIO0lGHsxgL+X4Mo6n/xXx9BtPijlRvAPTUULwWeKgquc+NM8xeJYcgawRO4Yug8tpA2oQurGNKYWyf6L1aRWEFUNPsohlBAS7cRUuNldRcmOa98z1+IOde/Vj8bUPjz5hyLPb70T40dF04fJkIqmGit3BTh/niNk7vBfpltgcAI7PCLGj/H8D8+IBB1FiEx8jOKNf9QPzCI+dPi1jiSJ3WVZhF0zaCHDvzO9PfSVw9I2Ybvi3/Fqw/E7SZoLKysi4tUBk5UUPNloYUUyNAxemziDlNHDGL4c+kX6wpGtsmuyHWJBcmRMY+7f7NoydFzLOLXFl97BuFn3LdIWaUX0jnJgfeRB9Z7M4ujYqrBpnDSoQFyOh8p1arQQRzvfd7HWf6rPwy8M9x1HR3TWaNOeHkZ6iEfFj6SVHOuEqZ6TmeHbX7q4D+3QfCbg2fKhn+8DWnkE42cMX10+afscqLFLjbuOBqQVvspUooGS5z/aeee/aovCgXmxaZab2Pml+4x9iVpIOZgn9inJ6ny18sQ/EczFMg8AcvAitiBPLk5jB4xXSaFDaElXsWnLo9aA94M/1ifQ1q1ENET11v3mB50QqHjcjIl8rR86KugJJhapW1qTGoAMuHzqgzCr7BTZak85k/gp5gVlIAUBXZfjO2QSu9E6yApKOTaM+4FPECNlAkshtgZ0lwxIJH/c15LOQ=
template:
metadata:
name: router-apikey
namespace: xchemlab
24 changes: 24 additions & 0 deletions charts/xchemlab/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,30 @@ postgresql-ha:
storageClass: db-nvme-storage
size: 50Gi

router:
enabled: true
managedFederation:
existingSecret: router-apikey
graphRef: xchemlab@current
ingress:
enabled: true
hosts:
- host: xchemlab.diamond.ac.uk
paths:
- path: /
pathType: Prefix
router:
args:
- --hot-reload
- --dev
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 1
memory: 128Mi

prometheus:
enabled: true

Expand Down

0 comments on commit c65894d

Please sign in to comment.