Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

fix: use proper nats address and improve configuration #28

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion chart/dev.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
release: 0.1.0-nightly.d12c5d72
release: 0.1.0-nightly.95a7d95f
domain: dev.trustification.dev
replicas: 1
imagePullPolicy: IfNotPresent
region: eu-west-1
enableWalkers: false
enableExporters: true
spog:
uiConfig: config/dev/spog-ui.yaml
bombastic:
Expand Down Expand Up @@ -77,3 +78,12 @@ oidcClients:
secretKeyRef:
name: oidc-client-walker
key: client-secret
guac:
nats:
nats:
jetstream:
enabled: true
limits:
# change max payload from default 1MB to 640MB
maxPayload: 640MB
maxPending: 640MB
10 changes: 10 additions & 0 deletions chart/prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ replicas: 2
imagePullPolicy: IfNotPresent
region: eu-west-1
enableWalkers: false
enableExporters: false
spog:
uiConfig: config/prod/spog-ui.yaml
bombastic:
Expand Down Expand Up @@ -81,3 +82,12 @@ oidcClients:
secretKeyRef:
name: oidc-client-walker
key: client-secret
guac:
nats:
nats:
jetstream:
enabled: true
limits:
# change max payload from default 1MB to 640MB
maxPayload: 640MB
maxPending: 640MB
10 changes: 10 additions & 0 deletions chart/staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ replicas: 1
imagePullPolicy: IfNotPresent
region: eu-west-1
enableWalkers: false
enableExporters: false
spog:
uiConfig: config/staging/spog-ui.yaml
bombastic:
Expand Down Expand Up @@ -83,3 +84,12 @@ oidcClients:
secretKeyRef:
name: oidc-client-walker
key: client-secret
guac:
nats:
nats:
jetstream:
enabled: true
limits:
# change max payload from default 1MB to 640MB
maxPayload: 640MB
maxPending: 640MB
9 changes: 8 additions & 1 deletion chart/templates/bombastic/exporter/030-Deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{ if .Values.enableExporters }}
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down Expand Up @@ -37,7 +38,7 @@ spec:
- "--storage-bucket"
- "{{ .Values.bombastic.bucket }}"
- "--guac-url"
- "trustification-nats:4222"
- "{{ .Release.Name }}-nats:4222"
- "--document-type"
- "sbom"
env:
Expand All @@ -62,6 +63,11 @@ spec:
volumeMounts:
- name: data
mountPath: /data
resources:
requests:
memory: "2Gi"
limits:
memory: "2Gi"
livenessProbe:
httpGet:
path: /health/live
Expand All @@ -76,3 +82,4 @@ spec:
httpGet:
path: /health/startup
port: 9010
{{ end }}