File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -50,11 +50,11 @@ spec:
5050 value : /srv/app
5151 resources :
5252 requests :
53- cpu : ' 250m '
54- memory : ' 400Mi '
53+ cpu : {{ .Values.requests.cpu }}
54+ memory : {{ .Values.requests.memory }}
5555 limits :
56- cpu : ' 1 '
57- memory : ' 2Gi '
56+ cpu : {{ .Values.limits.cpu }}
57+ memory : {{ .Values.limits.memory }}
5858 securityContext :
5959 runAsUser : 10001
6060 runAsGroup : 10001
Original file line number Diff line number Diff line change @@ -28,3 +28,12 @@ clusterName: ""
2828# The snyk-monitor requires disk storage to temporarily pull container images and to scan them for vulnerabilities.
2929# This value controls how much disk storage _at most_ may be allocated for the snyk-monitor. The snyk-monitor mounts an emptyDir for storage.
3030temporaryStorageSize : 50Gi
31+
32+ # CPU/Mem requests and limits for snyk-monitor
33+ requests :
34+ cpu : ' 250m'
35+ memory : ' 400Mi'
36+
37+ limits :
38+ cpu : ' 1'
39+ memory : ' 2Gi'
You can’t perform that action at this time.
0 commit comments