|
|
|
@ -15,6 +15,15 @@ spec:
|
|
|
|
containers:
|
|
|
|
containers:
|
|
|
|
- name: "{{ .Release.Name }}-smardigo-ocr-postgres"
|
|
|
|
- name: "{{ .Release.Name }}-smardigo-ocr-postgres"
|
|
|
|
image: postgres:{{ .Values.smardigo.ocr.postgres.version }}
|
|
|
|
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
|
|
|
|
imagePullPolicy: Always
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
- name: POSTGRES_DB
|
|
|
|
- name: POSTGRES_DB
|
|
|
|
|