Skip to content

Commit

Permalink
move config into configmap
Browse files Browse the repository at this point in the history
  • Loading branch information
clauyan committed Dec 12, 2024
1 parent d1ef7f7 commit 0903236
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions charts/dbildungs-iam-server/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ data:
ITSLEARNING_ROOT: '{{ .Values.itslearning.root }}'
ITSLEARNING_ROOT_OEFFENTLICH: '{{ .Values.itslearning.rootOeffentlich }}'
ITSLEARNING_ROOT_ERSATZ: '{{ .Values.itslearning.rootErsatz }}'
NODE_OPTIONS: "--max-old-space-size={{ .Values.backend.env.maxOldSpaceSize }}"
5 changes: 2 additions & 3 deletions charts/dbildungs-iam-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,7 @@ backend:
interval: 30m
endpoints:
- port: 'web'
extraEnvVars:
- name: NODE_OPTIONS
value: "--max-old-space-size=3584"
extraEnvVars: []
extraVolumes: []
volumeMounts:
- mountPath: /app/config/config.json
Expand All @@ -141,6 +139,7 @@ backend:
renameWaitingTimeInSeconds: 3
stepUpTimeoutInSeconds: 900
stepUpTimeoutEnabled: 'false'
maxOldSpaceSize: 3584

autoscaling:
enabled: false
Expand Down

0 comments on commit 0903236

Please sign in to comment.