Updates to cluster-deployment.json in the Ansible
installer to match the changes made to the same
template in the bash installer in support of
updating the PostgreSQL Operator minor upgrade
functionality for the crunchy-postgres-hacontainer.
}
},
{{ end }}
- {{if not .IsInit}}
- {
- "name": "PGHA_PRIMARY_HOST",
- "value": "{{.ClusterName}}"
- },
- {{ end }}
{
"name": "PATRONI_POSTGRESQL_DATA_DIR",
"value": "/pgdata/{{.Name}}"
}],
"resources": {},
"imagePullPolicy": "IfNotPresent"
- },
+ }{{if .EnableCrunchyadm}},
{
"name": "crunchyadm",
"image": "{{.CCPImagePrefix}}/crunchy-admin:{{.CCPImageTag}}",
}
],
"imagePullPolicy": "IfNotPresent"
- }
+ }{{ end }}
{{.CollectAddon }}
