Skip to content

Commit 549555b

Browse files
authored
upd: [helm] resource optimization (#10768)
* upd: [helm] resources for only dbMigrationChecker * upd: [helm] dbMigrationChecker resources in values
1 parent b86a01a commit 549555b

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

helm/defectdojo/templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,5 +168,5 @@ Create chart name and version as used by the chart label.
168168
{{- toYaml .Values.extraEnv | nindent 8 }}
169169
{{- end }}
170170
resources:
171-
{{- toYaml .Values.django.uwsgi.resources | nindent 10 }}
171+
{{- toYaml .Values.dbMigrationChecker.resources | nindent 10 }}
172172
{{- end -}}

helm/defectdojo/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,13 @@ securityContext:
8989

9090
dbMigrationChecker:
9191
enabled: true
92+
resources:
93+
requests:
94+
cpu: 100m
95+
memory: 100Mi
96+
limits:
97+
cpu: 200m
98+
memory: 200Mi
9299

93100
tests:
94101
unitTests:

0 commit comments

Comments
 (0)