Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add NATS via Helm pattern #528

Merged
merged 18 commits into from
Jul 17, 2024
62 changes: 0 additions & 62 deletions .github/workflows/deploy-nats.yml

This file was deleted.

3 changes: 3 additions & 0 deletions charts/app/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ dependencies:
version: 15.5.13
repository: https://charts.bitnami.com/bitnami
alias: bitnami-pg
- name: nats
version: 1.1.12
repository: "https://nats-io.github.io/k8s/helm/charts/"
maintainers:
- name: Om Mishra
email: [email protected]
Expand Down
File renamed without changes.
32 changes: 31 additions & 1 deletion charts/app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,37 @@ backup:
cpu: 20m
memory: 128Mi

#-- the components of the application, backend.
# Deploys JetStream
nats:
enabled: true
config:
replicaCount: 1
resources:
requests:
cpu: 100m
memory: 100Mi
limits:
cpu: 200m
memory: 400Mi
jetstream:
enabled: true
fileStore:
pvc:
size: 200Mi
memoryStore:
enabled: true
maxSize: 250Mi
cluster:
enabled: true
natsBox:
enabled: false
persistence:
enabled: true
size: 200Mi
reloader:
enabled: false

#-- WebEOC Container
webeoc:
#-- enable or disable backend
enabled: true
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ UserService.initKeycloak(onAuthenticatedCallback);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
// OR send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();
Loading