[POSTGRES][COMMON] Add support for postgres operator
[oom.git] / kubernetes / common / postgres-init / values.yaml
index d6d51f0..5a9f445 100644 (file)
@@ -90,6 +90,16 @@ resources:
       memory: 2Gi
   unlimited: {}
 
+#Pods Service Account
+serviceAccount:
+  nameOverride: postgres-init
+  roles:
+    - read
+
+readinessCheck:
+  wait_for:
+    - '{{ .Values.global.postgres.container.name }}'
+
 wait_for_job_container:
   containers:
     - '{{ include "common.name" . }}-update-config'
\ No newline at end of file