postgres:
service:
name: pgset
+ name2: tcp-pgset-primary
container:
name: postgres
resources:
small:
limits:
- cpu: 100m
- memory: 300Mi
+ cpu: "100m"
+ memory: "300Mi"
requests:
- cpu: 10m
- memory: 90Mi
+ cpu: "10m"
+ memory: "90Mi"
large:
limits:
- cpu: 2
- memory: 4Gi
+ cpu: "2"
+ memory: "4Gi"
requests:
- cpu: 1
- memory: 2Gi
+ cpu: "1"
+ memory: "2Gi"
unlimited: {}
#Pods Service Account
roles:
- read
+securityContext:
+ user_id: 26
+ group_id: 26
+
readinessCheck:
wait_for:
- - '{{ .Values.global.postgres.container.name }}'
+ services:
+ - '{{ .Values.global.postgres.service.name2 }}'
wait_for_job_container:
containers:
- - '{{ include "common.name" . }}-update-config'
\ No newline at end of file
+ - '{{ include "common.name" . }}-update-config'