Update the "Create by CRD" example to work with v4.2
There were a few missing parameters in the CRD "fromcrd.json" file
that would cause the deployment to fail and, most importantly, it
was missing the reference to the new "crunchy-postgres-ha" container.
Issue: [ch6854]
Issue:
"kind": "Pgcluster",
"metadata": {
"labels": {
+ "autofail": "true",
"crunchy-pgbadger": "false",
+ "crunchy-pgha-scope": "fromcrd",
"crunchy_collect": "false",
"current-primary": "fromcrd",
"deployment-name": "fromcrd",
"name": "fromcrd",
"pg-cluster": "fromcrd",
+ "pg-pod-anti-affinity": "",
"pgo-backrest": "true",
"pgo-version": "4.2.0",
"pgouser": "pgoadmin",
"storagetype": "dynamic",
"supplementalgroups": ""
},
- "ccpimage": "crunchy-postgres",
+ "ccpimage": "crunchy-postgres-ha",
"ccpimagetag": "centos7-12.1-4.2.0",
"clustername": "fromcrd",
"customconfig": "",
"database": "userdb",
+ "exporterport": "9187",
"name": "fromcrd",
"namespace": "pgouser1",
"nodename": "",
+ "pgbadgerport": "10000",
+ "podPodAntiAffinity": "",
"policies": "",
"port": "5432",
"primaryhost": "fromcrd",
"secretfrom": "",
"status": "",
"strategy": "1",
+ "syncReplication": null,
"user": "testuser",
"userlabels": {
"crunchy_collect": "false",
+ "pg-pod-anti-affinity": "",
"pgo-version": "4.2.0",
"pgouser": "pgoadmin",
"pgo-backrest": "true"
