@@ -23,7 +23,7 @@ global:
23
23
# -- domain of the application, it is required, apps.silver.devops.gov.bc.ca for silver cluster and apps.devops.gov.bc.ca for gold cluster
24
24
domain : " apps.silver.devops.gov.bc.ca" # it is apps.gold.devops.gov.bc.ca for gold cluster
25
25
# -- the database Alias gives a nice way to switch to different databases, crunchy, patroni ... etc.
26
- databaseAlias : bitnami-pg
26
+ databaseAlias : crunchy-postgres-dev
27
27
postgresql :
28
28
auth :
29
29
password : unused
@@ -127,143 +127,6 @@ frontend:
127
127
VITE_SSO_REDIRECT_URI : ~
128
128
VITE_API_URL : ~
129
129
130
- crunchy : # enable it for TEST and PROD, for PR based pipelines simply use single postgres
131
- enabled : false
132
-
133
- crunchyImage : artifacts.developer.gov.bc.ca/bcgov-docker-local/crunchy-postgres-gis:ubi8-15.2-3.3-0
134
-
135
- postgresVersion : 15
136
- postGISVersion : ' 3.3'
137
- imagePullPolicy : Always
138
- instances :
139
- name : ha # high availability
140
- replicas : 1 # 2 or 3 for high availability in TEST and PROD.
141
- metadata :
142
- annotations :
143
- prometheus.io/scrape : ' true'
144
- prometheus.io/port : ' 9187'
145
- dataVolumeClaimSpec :
146
- storage : 120Mi
147
- storageClassName : netapp-block-standard
148
- requests :
149
- cpu : 25m
150
- memory : 256Mi
151
- limits :
152
- cpu : 100m
153
- memory : 512Mi
154
- replicaCertCopy :
155
- requests :
156
- cpu : 1m
157
- memory : 32Mi
158
- limits :
159
- cpu : 50m
160
- memory : 64Mi
161
-
162
- pgBackRest :
163
- enabled : false
164
- image : # it's not necessary to specify an image as the images specified in the Crunchy Postgres Operator will be pulled by default
165
- retention : " 1" # Ideally a larger number such as 30 backups/days
166
- # If retention-full-type set to 'count' then the oldest backups will expire when the number of backups reach the number defined in retention
167
- # If retention-full-type set to 'time' then the number defined in retention will take that many days worth of full backups before expiration
168
- retentionFullType : count
169
- repos :
170
- schedules :
171
- full : 0 8 * * *
172
- incremental : 0 0,4,12,16,20 * * *
173
- volume :
174
- accessModes : " ReadWriteOnce"
175
- storage : 64Mi
176
- storageClassName : netapp-file-backup
177
- repoHost :
178
- requests :
179
- cpu : 1m
180
- memory : 64Mi
181
- limits :
182
- cpu : 50m
183
- memory : 128Mi
184
- sidecars :
185
- requests :
186
- cpu : 1m
187
- memory : 64Mi
188
- limits :
189
- cpu : 50m
190
- memory : 128Mi
191
-
192
- patroni :
193
- postgresql :
194
- pg_hba : " host all all 0.0.0.0/0 md5"
195
- parameters :
196
- shared_buffers : 16MB # default is 128MB; a good tuned default for shared_buffers is 25% of the memory allocated to the pod
197
- wal_buffers : " 64kB" # this can be set to -1 to automatically set as 1/32 of shared_buffers or 64kB, whichever is larger
198
- min_wal_size : 32MB
199
- max_wal_size : 64MB # default is 1GB
200
- max_slot_wal_keep_size : 128MB # default is -1, allowing unlimited wal growth when replicas fall behind
201
-
202
- proxy :
203
- pgBouncer :
204
- image : # it's not necessary to specify an image as the images specified in the Crunchy Postgres Operator will be pulled by default
205
- replicas : 1
206
- requests :
207
- cpu : 1m
208
- memory : 64Mi
209
- limits :
210
- cpu : 50m
211
- memory : 128Mi
212
-
213
- # Postgres Cluster resource values:
214
- pgmonitor :
215
- enabled : false
216
- exporter :
217
- image : # it's not necessary to specify an image as the images specified in the Crunchy Postgres Operator will be pulled by default
218
- requests :
219
- cpu : 1m
220
- memory : 64Mi
221
- limits :
222
- cpu : 50m
223
- memory : 128Mi
224
-
225
- bitnami-pg :
226
- enabled : true
227
- image :
228
- registry : ghcr.io
229
- repository : bcgov/nr-containers/bitnami/postgresql
230
- tag : 15.8.0
231
- auth :
232
- existingSecret : ' {{ .Release.Name }}'
233
- username : ~
234
- database : ~
235
- shmVolume :
236
- enabled : false
237
- backup :
238
- enabled : false
239
- cronjob :
240
- containerSecurityContext : { }
241
- podSecurityContext :
242
- enabled : false
243
- storage :
244
- size : 200Mi
245
- primary :
246
- persistence :
247
- enabled : true
248
- storageClass : netapp-block-standard
249
- accessModes :
250
- - ReadWriteOnce
251
- size : 100Mi
252
- containerSecurityContext :
253
- enabled : false
254
- podSecurityContext :
255
- enabled : false
256
- initdb :
257
- scriptsSecret : ' {{ .Release.Name }}-initdb-scripts'
258
-
259
- resources :
260
- requests :
261
- cpu : 50m
262
- memory : 150Mi
263
- limits :
264
- cpu : 150m
265
- memory : 250Mi
266
-
267
130
backup :
268
131
enabled : true
269
132
pvc :
@@ -331,6 +194,7 @@ backup:
331
194
332
195
coms :
333
196
enabled : true
197
+ db_secret : crunchy-postgres-dev-pguser-coms
334
198
image :
335
199
repository : ghcr.io/bcgov/common-object-management-service
336
200
tag : ~
@@ -358,11 +222,6 @@ coms:
358
222
BASICAUTH_ENABLED : ~
359
223
BASICAUTH_USERNAME : ~
360
224
BASICAUTH_PASSWORD : ~
361
- DB_HOST : ~
362
- DB_PORT : " 5432"
363
- DB_USERNAME : ~
364
- DB_PASSWORD : ~
365
- DB_DATABASE : ~
366
225
367
226
batch :
368
227
enabled : true
0 commit comments