Skip to content

Commit

Permalink
feat: Add NATS via Helm pattern (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
barrfalk authored Jul 17, 2024
1 parent 668e479 commit 1e6c0cc
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 64 deletions.
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: omprakash.2.mishra@gov.bc.ca
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();

0 comments on commit 1e6c0cc

Please sign in to comment.