Allow Setting Resources Requests And Limits Independently
I'm not sure if this is by design, or a cut and paste error.
I think we should be able to override/set requests and limits separately per k8s spec.
In:
- _cypressrunner.yaml
- _scriptrunner.yaml
We see only requests
are used for over-writing values:
{{- if .Values.bbtests.cypress.resources }}
requests:
cpu: {{ .Values.bbtests.cypress.resources.requests.cpu | quote }}
memory: {{ .Values.bbtests.cypress.resources.requests.memory | quote }}
limits:
cpu: {{ .Values.bbtests.cypress.resources.requests.cpu | quote }}
memory: {{ .Values.bbtests.cypress.resources.requests.memory | quote }}
{{- else }}
{{- if .Values.bbtests.scripts.resources }}
requests:
cpu: {{ .Values.bbtests.scripts.resources.requests.cpu | quote }}
memory: {{ .Values.bbtests.scripts.resources.requests.memory | quote }}
limits:
cpu: {{ .Values.bbtests.scripts.resources.requests.cpu | quote }}
memory: {{ .Values.bbtests.scripts.resources.requests.memory | quote }}
{{- else }}
Edited by Michael Martin