Various improvements

Add synchronization logic. For now get rid of podTemplate, type fields.
Add crd validation & configuration part, put retry on top of lookup
function installation.
This commit is contained in:
Dmitrii Dolgov
2020-02-12 17:35:43 +01:00
parent b40ea2c426
commit 6c3752068b
14 changed files with 653 additions and 135 deletions
+13
View File
@@ -0,0 +1,13 @@
package constants
// Connection pool specific constants
const (
ConnectionPoolUserName = "pooler"
ConnectionPoolSchemaName = "pooler"
ConnectionPoolDefaultType = "pgbouncer"
ConnectionPoolDefaultMode = "transition"
ConnectionPoolDefaultCpuRequest = "100m"
ConnectionPoolDefaultCpuLimit = "100m"
ConnectionPoolDefaultMemoryRequest = "100M"
ConnectionPoolDefaultMemoryLimit = "100M"
)