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

Add {{.ClusterName}} support into collect.json, pgbackrest-env-vars

Open lkhomenk opened this issue 7 years ago • 1 comments

**What is the motivation or use case for the change? ** ClusterName might be used inside configuration of primary deployment - e.g. backup path Using {{.Name}} - breaks things while restored pod or replica would have another name. Workaround - fetching ClusterName from the label. But all other modules like cluster-service-1.json, pgo-backrest-repo-template.json , etc - all of them do have {{.ClusterName}} Describe the solution you'd like It would be great to have it wherever any configuration is possible

lkhomenk avatar Feb 20 '19 09:02 lkhomenk

wrong description. my bad - better to recreate

lkhomenk avatar Feb 21 '19 21:02 lkhomenk