[POSTGRES][COMMON] Add support for postgres operator
[oom.git] / kubernetes / common / postgres-init / values.yaml
index 7bcd8e2..5a9f445 100644 (file)
@@ -89,3 +89,17 @@ resources:
       cpu: 1
       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