diff --git a/config/default/templates/smardigo-ocr/deployment.yml b/config/default/templates/smardigo-ocr/deployment.yml index 6c81ccd..6978a54 100644 --- a/config/default/templates/smardigo-ocr/deployment.yml +++ b/config/default/templates/smardigo-ocr/deployment.yml @@ -15,6 +15,15 @@ spec: containers: - name: "{{ .Release.Name }}-smardigo-ocr-postgres" image: postgres:{{ .Values.smardigo.ocr.postgres.version }} + {{ if .Values.smardigo.ocr.with_limits }} + resources: + requests: + memory: "1G" + cpu: "1" + limits: + memory: "1G" + cpu: "1" + {{ end }} imagePullPolicy: Always env: - name: POSTGRES_DB