Skip to content

Commit 7446935

Browse files
author
jmccormick2001
committed
add new pgbackrest template to helm chart to match non-helm structure
1 parent a8abd08 commit 7446935

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

chart/postgres-operator/files/postgres-operator/cluster/1/cluster-deployment-1.json

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,7 @@
6565
"name": "PGDATA_PATH_OVERRIDE",
6666
"value": "{{.DataPathOverride}}"
6767
}, {
68-
"name": "PGBACKREST_STANZA",
69-
"value": "{{.PgbackrestStanza}}"
70-
}, {
71-
"name": "PGBACKREST_DB_PATH",
72-
"value": "{{.PgbackrestDBPath}}"
73-
}, {
74-
"name": "PGBACKREST_REPO_PATH",
75-
"value": "{{.PgbackrestRepoPath}}"
76-
}, {
77-
"name": "PGBACKREST_LOG_PATH",
78-
"value": "/tmp"
79-
}, {
68+
{{.PgbackrestEnvVars}}
8069
"name": "PG_DATABASE",
8170
"value": "{{.Database}}"
8271
}, {
@@ -88,6 +77,9 @@
8877
}, {
8978
"name": "ARCHIVE_TIMEOUT",
9079
"value": "{{.ArchiveTimeout}}"
80+
}, {
81+
"name": "XLOGDIR",
82+
"value": "{{.XLOGDir}}"
9183
}, {
9284
"name": "PGHOST",
9385
"value": "/tmp"
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
"name": "PGBACKREST_STANZA",
2+
"value": "{{.PgbackrestStanza}}"
3+
}, {
4+
"name": "PGBACKREST_DB_PATH",
5+
"value": "{{.PgbackrestDBPath}}"
6+
}, {
7+
"name": "PGBACKREST_REPO_PATH",
8+
"value": "{{.PgbackrestRepoPath}}"
9+
}, {
10+
"name": "PGBACKREST_LOG_PATH",
11+
"value": "/tmp"
12+
}, {

0 commit comments

Comments
 (0)