Kubegres is a Kubernetes operator allowing to deploy one or many clusters of PostgreSql instances and manage databases replication, failover and backup.
this should give PGDATA=/pgdata/mypostgres to be used in the 2 places needed here and here..
I'll try to contribute a PR about that but, doesnt have a clear understanding of where to add the needed spec bit which files comprise the crd to be edited.. , code seems easier than boilerplate yaml :)... if anyone can help with the yaml part , will be great..
Thanks in advance..
Add syntax to spec, to be able to set pgdata env var directly something like:
database: size: 1Gi volumeMount: /pgdata folder: mypostgres
this should give PGDATA=/pgdata/mypostgres to be used in the 2 places needed here and here..
I'll try to contribute a PR about that but, doesnt have a clear understanding of where to add the needed spec bit which files comprise the crd to be edited.. , code seems easier than boilerplate yaml :)... if anyone can help with the yaml part , will be great.. Thanks in advance..