Skip to content

Commit

Permalink
[DSD-3065] Added resource section in partner-onboarder jobs.yaml (#488)
Browse files Browse the repository at this point in the history
* [DSD-3065] Added resource section in partner-onboarder jobs.yaml

* [DSD-3065] Added resource limits in partner-onboarder

---------

Co-authored-by: syed-salman-technoforte <[email protected]>
  • Loading branch information
syedsalman3753 and syed-salman-technoforte authored Jul 18, 2023
1 parent 94abc45 commit 3028f17
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions charts/partner-onboarder/templates/jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,8 @@ spec:
name: {{ . }}
{{- end }}
{{- end }}
{{- if $.Values.resources }}
resources: {{- toYaml $.Values.resources | nindent 12 }}
{{- end }}
{{- end }}
{{- end }}
8 changes: 4 additions & 4 deletions charts/partner-onboarder/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ resources:
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
limits: {}
# cpu: 200m
# memory: 256Mi
limits:
cpu: 800m
memory: 15000Mi
requests:
cpu: 100m
cpu: 500m
memory: 1000Mi

additionalResources:
Expand Down

0 comments on commit 3028f17

Please sign in to comment.