mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-28 02:18:36 +00:00
12 lines
349 B
Smarty
12 lines
349 B
Smarty
{{/*
|
|
Generate resource requirements based on ResourceQuota named as the namespace.
|
|
*/}}
|
|
{{- define "postgresjobs.defaultResources" }}
|
|
cpu: "1"
|
|
memory: 512Mi
|
|
{{- end }}
|
|
{{- define "postgresjobs.resources" }}
|
|
resources:
|
|
{{ include "cozy-lib.resources.sanitize" (list (include "postgresjobs.defaultResources" $ | fromYaml) $) | nindent 2 }}
|
|
{{- end }}
|