harbor-operator icon indicating copy to clipboard operation
harbor-operator copied to clipboard

bump up postgres operator

Open bitsf opened this issue 2 years ago • 3 comments

What can we help you?

bitsf avatar Mar 01 '22 12:03 bitsf

trying to use postgres-operator:v1.8.0, and spilo-14:2.1-p5 but failed to start pod postgresql-cluster-sample-ns-harborcluster-sample-0 image

it looks like the spec is changed

bitsf avatar May 11 '22 16:05 bitsf

spec Patroni.PgHba is overwriting pg_hba.conf which used to be append in file, so connect db denied. use

func GetPgHba() []string {
	return []string{
		"local   all all      trust",
		"hostssl all all 0.0.0.0/0 md5",
		"host    all all 0.0.0.0/0 md5",
	}
}

bitsf avatar May 12 '22 07:05 bitsf

the secret name is changed from something like harbor.postgresql-cluster-sample-ns-harborcluster-sample.credentials to harbor.postgresql-cluster-sample-ns-harborcluster-sample.credentials.postgresql.acid.zalan.do this would also break upgrading

bitsf avatar May 12 '22 07:05 bitsf