-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path9.4.9.values.yaml
1541 lines (1517 loc) · 65.5 KB
/
9.4.9.values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
## @section Global parameters
## Global Docker image parameters
## Please, note that this will override the image parameters, including dependencies, configured to use the global value
## Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass
## @param global.imageRegistry Global Docker image registry
## @param global.imagePullSecrets Global Docker registry secret names as an array
## @param global.storageClass Global StorageClass for Persistent Volume(s)
## @param global.postgresql.username PostgreSQL username (overrides `postgresql.username`)
## @param global.postgresql.password PostgreSQL password (overrides `postgresql.password`)
## @param global.postgresql.database PostgreSQL database (overrides `postgresql.database`)
## @param global.postgresql.repmgrUsername PostgreSQL repmgr username (overrides `postgresql.repmgrUsername`)
## @param global.postgresql.repmgrPassword PostgreSQL repmgr password (overrides `postgresql.repmgrpassword`)
## @param global.postgresql.repmgrDatabase PostgreSQL repmgr database (overrides `postgresql.repmgrDatabase`)
## @param global.postgresql.existingSecret Name of existing secret to use for PostgreSQL passwords (overrides `postgresql.existingSecret`)
## @param global.ldap.bindpw LDAP bind password (overrides `ldap.bindpw`)
## @param global.ldap.existingSecret Name of existing secret to use for LDAP passwords (overrides `ldap.existingSecret`)
## @param global.pgpool.adminUsername Pgpool Admin username (overrides `pgpool.adminUsername`)
## @param global.pgpool.adminPassword Pgpool Admin password (overrides `pgpool.adminPassword`)
## @param global.pgpool.existingSecret Pgpool existing secret
##
global:
imageRegistry: ""
## E.g.
## imagePullSecrets:
## - myRegistryKeySecretName
##
imagePullSecrets: []
storageClass: ""
postgresql:
username: ""
password: ""
database: ""
repmgrUsername: ""
repmgrPassword: ""
repmgrDatabase: ""
existingSecret: ""
ldap:
bindpw: ""
existingSecret: ""
pgpool:
adminUsername: ""
adminPassword: ""
existingSecret: ""
## @section Common parameters
## @param kubeVersion Override Kubernetes version
##
kubeVersion: ""
## @param nameOverride String to partially override common.names.fullname template (will maintain the release name)
##
nameOverride: ""
## @param fullnameOverride String to fully override common.names.fullname template
##
fullnameOverride: ""
## @param namespaceOverride String to fully override common.names.namespace
##
namespaceOverride: ""
## @param commonLabels Common labels to add to all resources (sub-charts are not considered). Evaluated as a template
##
commonLabels: {}
## @param commonAnnotations Common annotations to add to all resources (sub-charts are not considered). Evaluated as a template
##
commonAnnotations: {}
## @param clusterDomain Kubernetes Cluster Domain
##
clusterDomain: cluster.local
## @param extraDeploy Array of extra objects to deploy with the release (evaluated as a template)
##
extraDeploy: []
## Diagnostic mode in the deployment
##
diagnosticMode:
## @param diagnosticMode.enabled Enable diagnostic mode (all probes will be disabled and the command will be overridden)
##
enabled: false
## @param diagnosticMode.command [array] Command to override all containers in the deployment
##
command:
- sleep
## @param diagnosticMode.args [array] Args to override all containers in the deployment
##
args:
- infinity
## @section PostgreSQL with Repmgr parameters
## PostgreSQL parameters
##
postgresql:
## ref: https://hub.docker.com/r/bitnami/postgresql/tags/
## @param postgresql.image.registry PostgreSQL with Repmgr image registry
## @param postgresql.image.repository PostgreSQL with Repmgr image repository
## @param postgresql.image.tag PostgreSQL with Repmgr image tag
## @param postgresql.image.digest PostgreSQL image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
## @param postgresql.image.pullPolicy PostgreSQL with Repmgr image pull policy
## @param postgresql.image.pullSecrets Specify docker-registry secret names as an array
## @param postgresql.image.debug Specify if debug logs should be enabled
##
image:
registry: docker.io
repository: bitnami/postgresql-repmgr
tag: 14.5.0-debian-11-r28
digest: ""
## Specify a imagePullPolicy. Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images
##
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
## Example:
## pullSecrets:
## - myRegistryKeySecretName
##
pullSecrets: []
## Set to true if you would like to see extra information on logs
##
debug: false
## @param postgresql.labels Labels to add to the StatefulSet. Evaluated as template
##
labels: {}
## @param postgresql.podLabels Labels to add to the StatefulSet pods. Evaluated as template
##
podLabels: {}
## @param postgresql.replicaCount Number of replicas to deploy. Use an odd number. Having 3 replicas is the minimum to get quorum when promoting a new primary.
##
replicaCount: 3
## @param postgresql.updateStrategy.type Postgresql statefulset strategy type
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
## e.g:
## updateStrategy:
## type: RollingUpdate
## rollingUpdate:
## maxSurge: 25%
## maxUnavailable: 25%
##
updateStrategy:
type: RollingUpdate
## @param postgresql.containerPorts.postgresql PostgreSQL port
##
containerPorts:
postgresql: 5432
## @param postgresql.hostAliases Deployment pod host aliases
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
##
hostAliases: []
## @param postgresql.hostNetwork Specify if host network should be enabled for PostgreSQL pod
##
hostNetwork: false
## @param postgresql.hostIPC Specify if host IPC should be enabled for PostgreSQL pod
##
hostIPC: false
## @param postgresql.podAnnotations Additional pod annotations
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
##
podAnnotations: {}
## @param postgresql.podAffinityPreset PostgreSQL pod affinity preset. Ignored if `postgresql.affinity` is set. Allowed values: `soft` or `hard`
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
##
podAffinityPreset: ""
## @param postgresql.podAntiAffinityPreset PostgreSQL pod anti-affinity preset. Ignored if `postgresql.affinity` is set. Allowed values: `soft` or `hard`
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
##
podAntiAffinityPreset: soft
## PostgreSQL node affinity preset
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
##
nodeAffinityPreset:
## @param postgresql.nodeAffinityPreset.type PostgreSQL node affinity preset type. Ignored if `postgresql.affinity` is set. Allowed values: `soft` or `hard`
##
type: ""
## @param postgresql.nodeAffinityPreset.key PostgreSQL node label key to match Ignored if `postgresql.affinity` is set.
## E.g.
## key: "kubernetes.io/e2e-az-name"
##
key: ""
## @param postgresql.nodeAffinityPreset.values PostgreSQL node label values to match. Ignored if `postgresql.affinity` is set.
## E.g.
## values:
## - e2e-az1
## - e2e-az2
##
values: []
## @param postgresql.affinity Affinity for PostgreSQL pods assignment
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
## Note: postgresql.podAffinityPreset, postgresql.podAntiAffinityPreset, and postgresql.nodeAffinityPreset will be ignored when it's set
##
affinity: {}
## @param postgresql.nodeSelector Node labels for PostgreSQL pods assignment
## ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector: {}
## @param postgresql.tolerations Tolerations for PostgreSQL pods assignment
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
##
tolerations: []
## @param postgresql.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
##
topologySpreadConstraints: []
## @param postgresql.priorityClassName Pod priority class
## Ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
##
priorityClassName: ""
## @param postgresql.schedulerName Use an alternate scheduler, e.g. "stork".
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
##
schedulerName: ""
## @param postgresql.terminationGracePeriodSeconds Seconds PostgreSQL pod needs to terminate gracefully
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
##
terminationGracePeriodSeconds: ""
## K8s Security Context
## https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
## @param postgresql.podSecurityContext.enabled Enable security context for PostgreSQL with Repmgr
## @param postgresql.podSecurityContext.fsGroup Group ID for the PostgreSQL with Repmgr filesystem
##
podSecurityContext:
enabled: true
fsGroup: 1001
## Container Security Context
## https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
## @param postgresql.containerSecurityContext.enabled Enable container security context
## @param postgresql.containerSecurityContext.runAsUser User ID for the PostgreSQL with Repmgr container
## @param postgresql.containerSecurityContext.runAsNonRoot Set PostgreSQL with Repmgr containers' Security Context runAsNonRoot
## @param postgresql.containerSecurityContext.readOnlyRootFilesystem Set PostgreSQL with Repmgr containers' Security Context runAsNonRoot
## e.g:
## containerSecurityContext:
## enabled: true
## capabilities:
## drop: ["NET_RAW"]
## readOnlyRootFilesystem: true
##
containerSecurityContext:
enabled: true
runAsUser: 1001
runAsNonRoot: true
readOnlyRootFilesystem: false
## @param postgresql.command Override default container command (useful when using custom images)
##
command: []
## @param postgresql.args Override default container args (useful when using custom images)
##
args: []
## @param postgresql.lifecycleHooks LifecycleHook to set additional configuration at startup, e.g. LDAP settings via REST API. Evaluated as a template
##
lifecycleHooks: {}
## @param postgresql.extraEnvVars Array containing extra environment variables
## For example:
## - name: PG_EXPORTER_DISABLE_DEFAULT_METRICS
## value: "true"
##
extraEnvVars: []
## @param postgresql.extraEnvVarsCM ConfigMap with extra environment variables
##
extraEnvVarsCM: ""
## @param postgresql.extraEnvVarsSecret Secret with extra environment variables
##
extraEnvVarsSecret: ""
## @param postgresql.extraVolumes Extra volumes to add to the deployment
##
extraVolumes: []
## @param postgresql.extraVolumeMounts Extra volume mounts to add to the container. Normally used with `extraVolumes`.
##
extraVolumeMounts: []
## @param postgresql.initContainers Extra init containers to add to the deployment
##
initContainers: []
## @param postgresql.sidecars Extra sidecar containers to add to the deployment
##
sidecars: []
## PostgreSQL containers' resource requests and limits
## ref: https://kubernetes.io/docs/user-guide/compute-resources/
## We usually recommend not to specify default resources and to leave this as a conscious
## choice for the user. This also increases chances charts run on environments with little
## resources, such as Minikube. If you do want to specify resources, uncomment the following
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
## @param postgresql.resources.limits The resources limits for the container
## @param postgresql.resources.requests The requested resources for the container
##
resources:
## Example:
## limits:
## cpu: 250m
## memory: 256Mi
##
limits: {}
## Examples:
## requests:
## cpu: 250m
## memory: 256Mi
##
requests: {}
## PostgreSQL container's liveness probe
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
## @param postgresql.livenessProbe.enabled Enable livenessProbe
## @param postgresql.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
## @param postgresql.livenessProbe.periodSeconds Period seconds for livenessProbe
## @param postgresql.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
## @param postgresql.livenessProbe.failureThreshold Failure threshold for livenessProbe
## @param postgresql.livenessProbe.successThreshold Success threshold for livenessProbe
##
livenessProbe:
enabled: true
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 6
## PostgreSQL container's readiness probe
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
## @param postgresql.readinessProbe.enabled Enable readinessProbe
## @param postgresql.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
## @param postgresql.readinessProbe.periodSeconds Period seconds for readinessProbe
## @param postgresql.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
## @param postgresql.readinessProbe.failureThreshold Failure threshold for readinessProbe
## @param postgresql.readinessProbe.successThreshold Success threshold for readinessProbe
##
readinessProbe:
enabled: true
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 6
## PostgreSQL container's startup probe
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
## @param postgresql.startupProbe.enabled Enable startupProbe
## @param postgresql.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
## @param postgresql.startupProbe.periodSeconds Period seconds for startupProbe
## @param postgresql.startupProbe.timeoutSeconds Timeout seconds for startupProbe
## @param postgresql.startupProbe.failureThreshold Failure threshold for startupProbe
## @param postgresql.startupProbe.successThreshold Success threshold for startupProbe
##
startupProbe:
enabled: false
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 10
## @param postgresql.customLivenessProbe Override default liveness probe
##
customLivenessProbe: {}
## @param postgresql.customReadinessProbe Override default readiness probe
##
customReadinessProbe: {}
## @param postgresql.customStartupProbe Override default startup probe
##
customStartupProbe: {}
## Pod disruption budget configuration
## @param postgresql.pdb.create Specifies whether to create a Pod disruption budget for PostgreSQL with Repmgr
## @param postgresql.pdb.minAvailable Minimum number / percentage of pods that should remain scheduled
## @param postgresql.pdb.maxUnavailable Maximum number / percentage of pods that may be made unavailable
##
pdb:
create: false
minAvailable: 1
maxUnavailable: ""
## PostgreSQL configuration parameters
## @param postgresql.username PostgreSQL username
## @param postgresql.password PostgreSQL password
## @param postgresql.database PostgreSQL database
##
username: postgres
password: passwoord
database: ""
## @param postgresql.existingSecret PostgreSQL password using existing secret
##
existingSecret: ""
## @param postgresql.postgresPassword PostgreSQL password for the `postgres` user when `username` is not `postgres`
## ref: https://github.com/bitnami/containers/tree/main/bitnami/postgresql#creating-a-database-user-on-first-run (see note!)
##
postgresPassword: ""
## @param postgresql.usePasswordFile Set to `true` to mount PostgreSQL secret as a file instead of passing environment variable
##
usePasswordFile: ""
## @param postgresql.repmgrUsePassfile Set to `true` to configure repmgrl to use `passfile` instead of `password` vars*:*:*:username:password" and use it to configure Repmgr instead of using password (Requires Postgresql 10+, otherwise ignored)
## ref: https://repmgr.org/docs/current/configuration-password-management.html
## https://www.postgresql.org/docs/current/libpq-pgpass.html
##
repmgrUsePassfile: ""
## @param postgresql.repmgrPassfilePath Custom path where `passfile` will be stored
##
repmgrPassfilePath: ""
## @param postgresql.upgradeRepmgrExtension Upgrade repmgr extension in the database
##
upgradeRepmgrExtension: false
## @param postgresql.pgHbaTrustAll Configures PostgreSQL HBA to trust every user
##
pgHbaTrustAll: false
## @param postgresql.syncReplication Make the replication synchronous. This will wait until the data is synchronized in all the replicas before other query can be run. This ensures the data availability at the expenses of speed.
##
syncReplication: false
## Repmgr configuration parameters
## @param postgresql.repmgrUsername PostgreSQL Repmgr username
## @param postgresql.repmgrPassword PostgreSQL Repmgr password
## @param postgresql.repmgrDatabase PostgreSQL Repmgr database
## @param postgresql.repmgrLogLevel Repmgr log level (DEBUG, INFO, NOTICE, WARNING, ERROR, ALERT, CRIT or EMERG)
## @param postgresql.repmgrConnectTimeout Repmgr backend connection timeout (in seconds)
## @param postgresql.repmgrReconnectAttempts Repmgr backend reconnection attempts
## @param postgresql.repmgrReconnectInterval Repmgr backend reconnection interval (in seconds)
## @param postgresql.repmgrFenceOldPrimary Set if fencing of old primary in multiple primary situation is desired
## @param postgresql.repmgrChildNodesCheckInterval Repmgr child nodes check interval (in seconds)
## @param postgresql.repmgrChildNodesConnectedMinCount Repmgr minimum number of connected child nodes before being considered as failed primary for fencing
## @param postgresql.repmgrChildNodesDisconnectTimeout Repmgr time before node will be fenced when insufficient child nodes are detected (in seconds)
##
repmgrUsername: repmgr
repmgrPassword: passwoord
repmgrDatabase: repmgr
repmgrLogLevel: NOTICE
repmgrConnectTimeout: 5
repmgrReconnectAttempts: 2
repmgrReconnectInterval: 3
repmgrFenceOldPrimary: false
repmgrChildNodesCheckInterval: 5
repmgrChildNodesConnectedMinCount: 1
repmgrChildNodesDisconnectTimeout: 30
## EXPERMENTAL: Use pg_rewind for standby failover
## @param postgresql.usePgRewind Use pg_rewind for standby failover (experimental)
##
usePgRewind: false
## Audit settings
## https://github.com/bitnami/containers/tree/main/bitnami/postgresql#auditing
##
audit:
## @param postgresql.audit.logHostname Add client hostnames to the log file
##
logHostname: true
## @param postgresql.audit.logConnections Add client log-in operations to the log file
##
logConnections: false
## @param postgresql.audit.logDisconnections Add client log-outs operations to the log file
##
logDisconnections: false
## @param postgresql.audit.pgAuditLog Add operations to log using the pgAudit extension
##
pgAuditLog: ""
## @param postgresql.audit.pgAuditLogCatalog Log catalog using pgAudit
##
pgAuditLogCatalog: "off"
## @param postgresql.audit.clientMinMessages Message log level to share with the user
##
clientMinMessages: error
## @param postgresql.audit.logLinePrefix Template string for the log line prefix
##
logLinePrefix: ""
## @param postgresql.audit.logTimezone Timezone for the log timestamps
##
logTimezone: ""
## @param postgresql.sharedPreloadLibraries Shared preload libraries (comma-separated list)
##
sharedPreloadLibraries: "pgaudit, repmgr"
## @param postgresql.maxConnections Maximum total connections
##
maxConnections: ""
## @param postgresql.postgresConnectionLimit Maximum connections for the postgres user
##
postgresConnectionLimit: ""
## @param postgresql.dbUserConnectionLimit Maximum connections for the created user
##
dbUserConnectionLimit: ""
## @param postgresql.tcpKeepalivesInterval TCP keepalives interval
##
tcpKeepalivesInterval: ""
## @param postgresql.tcpKeepalivesIdle TCP keepalives idle
##
tcpKeepalivesIdle: ""
## @param postgresql.tcpKeepalivesCount TCP keepalives count
##
tcpKeepalivesCount: ""
## @param postgresql.statementTimeout Statement timeout
##
statementTimeout: ""
## @param postgresql.pghbaRemoveFilters Comma-separated list of patterns to remove from the pg_hba.conf file
## (cannot be used with custom pg_hba.conf)
##
pghbaRemoveFilters: ""
## @param postgresql.extraInitContainers Extra init containers
## Example:
## extraInitContainers:
## - name: do-something
## image: busybox
## command: ['do', 'something']
##
extraInitContainers: []
## @param postgresql.repmgrConfiguration Repmgr configuration
## You can use this parameter to specify the content for repmgr.conf
## Otherwise, a repmgr.conf will be generated based on the environment variables
## ref: https://github.com/bitnami/containers/tree/main/bitnami/postgresql-repmgr#configuration
## ref: https://github.com/bitnami/containers/tree/main/bitnami/postgresql-repmgr#configuration-file
## Example:
## repmgrConfiguration: |-
## ssh_options='-o "StrictHostKeyChecking no" -v'
## use_replication_slots='1'
## ...
##
repmgrConfiguration: ""
## @param postgresql.configuration PostgreSQL configuration
## You can use this parameter to specify the content for postgresql.conf
## Otherwise, a repmgr.conf will be generated based on the environment variables
## ref: https://github.com/bitnami/containers/tree/main/bitnami/postgresql-repmgr#configuration
## ref: https://github.com/bitnami/containers/tree/main/bitnami/postgresql-repmgr#configuration-file
## Example:
## configuration: |-
## listen_addresses = '*'
## port = '5432'
## ...
##
configuration: ""
## @param postgresql.pgHbaConfiguration PostgreSQL client authentication configuration
## You can use this parameter to specify the content for pg_hba.conf
## Otherwise, a repmgr.conf will be generated based on the environment variables
## ref: https://github.com/bitnami/containers/tree/main/bitnami/postgresql-repmgr#configuration
## ref: https://github.com/bitnami/containers/tree/main/bitnami/postgresql-repmgr#configuration-file
## Example:
## pgHbaConfiguration: |-
## host all repmgr 0.0.0.0/0 md5
## host repmgr repmgr 0.0.0.0/0 md
## ...
##
pgHbaConfiguration: ""
## @param postgresql.configurationCM Name of existing ConfigMap with configuration files
## NOTE: This will override postgresql.repmgrConfiguration, postgresql.configuration and postgresql.pgHbaConfiguration
##
configurationCM: ""
## @param postgresql.extendedConf Extended PostgreSQL configuration (appended to main or default configuration). Implies `volumePermissions.enabled`.
## Similar to postgresql.configuration, but _appended_ to the main configuration
## ref: https://github.com/bitnami/containers/tree/main/bitnami/postgresql-repmgr#allow-settings-to-be-loaded-from-files-other-than-the-default-postgresqlconf
## Example:
## extendedConf: |-
## deadlock_timeout = 1s
## max_locks_per_transaction = 64
## ...
##
extendedConf: |-
logging_collector = on
log_directory = '/bitnami/postgresql/logs'
log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log'
log_connections = on
log_disconnections = on
log_duration = on
log_hostname = on
log_line_prefix = '%t %u %d %h'
log_statement = 'ddl'
log_rotation_age = 7d
log_rotation_size = 10MB
## @param postgresql.extendedConfCM ConfigMap with PostgreSQL extended configuration
## NOTE: This will override postgresql.extendedConf and implies `volumePermissions.enabled`
##
extendedConfCM: ""
## @param postgresql.initdbScripts Dictionary of initdb scripts
## Specify dictionary of scripts to be run at first boot
## The allowed extensions are `.sh`, `.sql` and `.sql.gz`
## ref: https://github.com/bitnami/charts/tree/main/bitnami/postgresql-ha#initialize-a-fresh-instance
## e.g:
## initdbScripts:
## my_init_script.sh: |
## #!/bin/sh
## echo "Do something."
##
initdbScripts: {}
## @param postgresql.initdbScriptsCM ConfigMap with scripts to be run at first boot
## NOTE: This will override initdbScripts
##
initdbScriptsCM: ""
## @param postgresql.initdbScriptsSecret Secret with scripts to be run at first boot
## Note: can be used with initdbScriptsCM or initdbScripts
##
initdbScriptsSecret: ""
## TLS configuration
##
tls:
## @param postgresql.tls.enabled Enable TLS traffic support for end-client connections
##
enabled: false
## @param postgresql.tls.preferServerCiphers Whether to use the server's TLS cipher preferences rather than the client's
##
preferServerCiphers: true
## @param postgresql.tls.certificatesSecret Name of an existing secret that contains the certificates
##
certificatesSecret: ""
## @param postgresql.tls.certFilename Certificate filename
##
certFilename: ""
## @param postgresql.tls.certKeyFilename Certificate key filename
##
certKeyFilename: ""
## @section Pgpool parameters
## Pgpool parameters
##
pgpool:
## Bitnami Pgpool image
## ref: https://hub.docker.com/r/bitnami/pgpool/tags/
## @param pgpool.image.registry Pgpool image registry
## @param pgpool.image.repository Pgpool image repository
## @param pgpool.image.tag Pgpool image tag
## @param pgpool.image.digest Pgpool image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
## @param pgpool.image.pullPolicy Pgpool image pull policy
## @param pgpool.image.pullSecrets Specify docker-registry secret names as an array
## @param pgpool.image.debug Specify if debug logs should be enabled
##
image:
registry: docker.io
repository: bitnami/pgpool
tag: 4.3.3-debian-11-r20
digest: ""
## Specify a imagePullPolicy. Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images
##
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
## Example:
## pullSecrets:
## - myRegistryKeySecretName
##
pullSecrets: []
## Set to true if you would like to see extra information on logs
##
debug: false
## @param pgpool.customUsers Additional users that will be performing connections to the database using
## pgpool. Use this property in order to create new user/password entries that
## will be appended to the "pgpool_passwd" file
##
customUsers: {}
## @param pgpool.usernames Comma or semicolon separated list of postgres usernames
## e.g:
## usernames: 'user01;user02'
##
usernames: ""
## @param pgpool.passwords Comma or semicolon separated list of the associated passwords for the users above
## e.g:
## passwords: 'pass01;pass02'
##
passwords: ""
## @param pgpool.hostAliases Deployment pod host aliases
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
##
hostAliases: []
## @param pgpool.customUsersSecret Name of a secret containing the usernames and passwords of accounts that will be added to pgpool_passwd
## The secret must contain the keys "usernames" and "passwords" respectively.
##
customUsersSecret: ""
## @param pgpool.existingSecret Pgpool admin password using existing secret
##
existingSecret: ""
## @param pgpool.srCheckDatabase Name of the database to perform streaming replication checks
##
srCheckDatabase: postgres
## @param pgpool.labels Labels to add to the Deployment. Evaluated as template
##
labels: {}
## @param pgpool.podLabels Labels to add to the pods. Evaluated as template
##
podLabels: {}
## @param pgpool.serviceLabels Labels to add to the service. Evaluated as template
##
serviceLabels: {}
## @param pgpool.customLivenessProbe Override default liveness probe
##
customLivenessProbe: {}
## @param pgpool.customReadinessProbe Override default readiness probe
##
customReadinessProbe: {}
## @param pgpool.customStartupProbe Override default startup probe
##
customStartupProbe: {}
## @param pgpool.command Override default container command (useful when using custom images)
##
command: []
## @param pgpool.args Override default container args (useful when using custom images)
##
args: []
## @param pgpool.lifecycleHooks LifecycleHook to set additional configuration at startup, e.g. LDAP settings via REST API. Evaluated as a template
##
lifecycleHooks: {}
## @param pgpool.extraEnvVars Array containing extra environment variables
## For example:
## - name: BEARER_AUTH
## value: true
##
extraEnvVars: []
## @param pgpool.extraEnvVarsCM ConfigMap with extra environment variables
##
extraEnvVarsCM: ""
## @param pgpool.extraEnvVarsSecret Secret with extra environment variables
##
extraEnvVarsSecret: ""
## @param pgpool.extraVolumes Extra volumes to add to the deployment
##
extraVolumes: []
## @param pgpool.extraVolumeMounts Extra volume mounts to add to the container. Normally used with `extraVolumes`
##
extraVolumeMounts: []
## @param pgpool.initContainers Extra init containers to add to the deployment
##
initContainers: []
## @param pgpool.sidecars Extra sidecar containers to add to the deployment
##
sidecars: []
## @param pgpool.replicaCount The number of replicas to deploy
##
replicaCount: 1
## @param pgpool.podAnnotations Additional pod annotations
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
##
podAnnotations: {}
## @param pgpool.priorityClassName Pod priority class
## Ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
##
priorityClassName: ""
## @param pgpool.schedulerName Use an alternate scheduler, e.g. "stork".
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
##
schedulerName: ""
## @param pgpool.terminationGracePeriodSeconds Seconds pgpool pod needs to terminate gracefully
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
##
terminationGracePeriodSeconds: ""
## @param pgpool.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
##
topologySpreadConstraints: []
## @param pgpool.podAffinityPreset Pgpool pod affinity preset. Ignored if `pgpool.affinity` is set. Allowed values: `soft` or `hard`
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
##
podAffinityPreset: ""
## @param pgpool.podAntiAffinityPreset Pgpool pod anti-affinity preset. Ignored if `pgpool.affinity` is set. Allowed values: `soft` or `hard`
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
##
podAntiAffinityPreset: soft
## Pgpool node affinity preset
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
##
nodeAffinityPreset:
## @param pgpool.nodeAffinityPreset.type Pgpool node affinity preset type. Ignored if `pgpool.affinity` is set. Allowed values: `soft` or `hard`
##
type: ""
## @param pgpool.nodeAffinityPreset.key Pgpool node label key to match Ignored if `pgpool.affinity` is set.
## E.g.
## key: "kubernetes.io/e2e-az-name"
##
key: ""
## @param pgpool.nodeAffinityPreset.values Pgpool node label values to match. Ignored if `pgpool.affinity` is set.
## E.g.
## values:
## - e2e-az1
## - e2e-az2
##
values: []
## @param pgpool.affinity Affinity for Pgpool pods assignment
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
## Note: pgpool.podAffinityPreset, pgpool.podAntiAffinityPreset, and pgpool.nodeAffinityPreset will be ignored when it's set
##
affinity: {}
## @param pgpool.nodeSelector Node labels for Pgpool pods assignment
## ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector: {}
## @param pgpool.tolerations Tolerations for Pgpool pods assignment
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
##
tolerations: []
## K8s Security Context
## https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
## @param pgpool.podSecurityContext.enabled Enable security context for Pgpool
## @param pgpool.podSecurityContext.fsGroup Group ID for the Pgpool filesystem
##
podSecurityContext:
enabled: true
fsGroup: 1001
## Container Security Context
## https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
## @param pgpool.containerSecurityContext.enabled Enable container security context
## @param pgpool.containerSecurityContext.runAsUser User ID for the Pgpool container
## @param pgpool.containerSecurityContext.runAsNonRoot Set Pgpool containers' Security Context runAsNonRoot
## @param pgpool.containerSecurityContext.readOnlyRootFilesystem Set Pgpool containers' Security Context runAsNonRoot
## e.g:
## containerSecurityContext:
## enabled: true
## capabilities:
## drop: ["NET_RAW"]
## readOnlyRootFilesystem: true
##
containerSecurityContext:
enabled: true
runAsUser: 1001
runAsNonRoot: true
readOnlyRootFilesystem: false
## Pgpool containers' resource requests and limits
## ref: https://kubernetes.io/docs/user-guide/compute-resources/
## We usually recommend not to specify default resources and to leave this as a conscious
## choice for the user. This also increases chances charts run on environments with little
## resources, such as Minikube. If you do want to specify resources, uncomment the following
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
## @param pgpool.resources.limits The resources limits for the container
## @param pgpool.resources.requests The requested resources for the container
##
resources:
## Example:
## limits:
## cpu: 250m
## memory: 256Mi
##
limits: {}
## Examples:
## requests:
## cpu: 250m
## memory: 256Mi
##
requests: {}
## Pgpool container's liveness probe
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
## @param pgpool.livenessProbe.enabled Enable livenessProbe
## @param pgpool.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
## @param pgpool.livenessProbe.periodSeconds Period seconds for livenessProbe
## @param pgpool.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
## @param pgpool.livenessProbe.failureThreshold Failure threshold for livenessProbe
## @param pgpool.livenessProbe.successThreshold Success threshold for livenessProbe
##
livenessProbe:
enabled: true
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 5
## Pgpool container's readiness probe
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
## @param pgpool.readinessProbe.enabled Enable readinessProbe
## @param pgpool.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
## @param pgpool.readinessProbe.periodSeconds Period seconds for readinessProbe
## @param pgpool.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
## @param pgpool.readinessProbe.failureThreshold Failure threshold for readinessProbe
## @param pgpool.readinessProbe.successThreshold Success threshold for readinessProbe
##
readinessProbe:
enabled: true
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 5
## Pgpool container's startup probe
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
## @param pgpool.startupProbe.enabled Enable startupProbe
## @param pgpool.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
## @param pgpool.startupProbe.periodSeconds Period seconds for startupProbe
## @param pgpool.startupProbe.timeoutSeconds Timeout seconds for startupProbe
## @param pgpool.startupProbe.failureThreshold Failure threshold for startupProbe
## @param pgpool.startupProbe.successThreshold Success threshold for startupProbe
##
startupProbe:
enabled: false
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 10
## Pod disruption budget configuration
## @param pgpool.pdb.create Specifies whether a Pod disruption budget should be created for Pgpool pods
## @param pgpool.pdb.minAvailable Minimum number / percentage of pods that should remain scheduled
## @param pgpool.pdb.maxUnavailable Maximum number / percentage of pods that may be made unavailable
##
pdb:
create: false
minAvailable: 1
maxUnavailable: ""
## @param pgpool.updateStrategy Strategy used to replace old Pods by new ones
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
##
updateStrategy: {}
## @param pgpool.containerPorts.postgresql Pgpool port
##
containerPorts:
postgresql: 5432
## @param pgpool.minReadySeconds How many seconds a pod needs to be ready before killing the next, during update
##
minReadySeconds: ""
## Credentials for the pgpool administrator
## @param pgpool.adminUsername Pgpool Admin username
## @param pgpool.adminPassword Pgpool Admin password
##
adminUsername: admin
adminPassword: ""
## @param pgpool.usePasswordFile Set to `true` to mount pgpool secret as a file instead of passing environment variable
##
usePasswordFile: ""
## Authentication method for pgpool container (PGPOOL_AUTHENTICATION_METHOD)
## @param pgpool.authenticationMethod Pgpool authentication method. Use 'md5' for PSQL < 14.
##
authenticationMethod: scram-sha-256
## @param pgpool.logConnections Log all client connections (PGPOOL_ENABLE_LOG_CONNECTIONS)
## ref: https://github.com/bitnami/containers/tree/main/bitnami/pgpool#configuration
##
logConnections: false
## @param pgpool.logHostname Log the client hostname instead of IP address (PGPOOL_ENABLE_LOG_HOSTNAME)
## ref: https://github.com/bitnami/containers/tree/main/bitnami/pgpool#configuration
##
logHostname: true
## @param pgpool.logPerNodeStatement Log every SQL statement for each DB node separately (PGPOOL_ENABLE_LOG_PER_NODE_STATEMENT)
## ref: https://github.com/bitnami/containers/tree/main/bitnami/pgpool#configuration
##
logPerNodeStatement: false
## @param pgpool.logLinePrefix Format of the log entry lines (PGPOOL_LOG_LINE_PREFIX)
## ref: https://github.com/bitnami/containers/tree/main/bitnami/pgpool#configuration
## ref: https://www.pgpool.net/docs/latest/en/html/runtime-config-logging.html
##
logLinePrefix: ""
## @param pgpool.clientMinMessages Log level for clients
## ref: https://github.com/bitnami/containers/tree/main/bitnami/pgpool#configuration
##
clientMinMessages: error
## @param pgpool.numInitChildren The number of preforked Pgpool-II server processes. It is also the concurrent
## connections limit to Pgpool-II from clients. Must be a positive integer. (PGPOOL_NUM_INIT_CHILDREN)
## ref: https://github.com/bitnami/containers/tree/main/bitnami/pgpool#configuration
##
numInitChildren: ""
## @param pgpool.reservedConnections Number of reserved connections. When zero, excess connection block. When non-zero, excess connections are refused with an error message.
## When this parameter is set to 1 or greater, incoming connections from clients are not accepted with error message
## "Sorry, too many clients already", rather than blocked if the number of current connections from clients is more than
## (num_init_children - reserved_connections).
## ref: https://github.com/bitnami/containers/tree/main/bitnami/pgpool#configuration
##
reservedConnections: 1
## @param pgpool.maxPool The maximum number of cached connections in each child process (PGPOOL_MAX_POOL)
## ref: https://github.com/bitnami/containers/tree/main/bitnami/pgpool#configuration
##
maxPool: ""
## @param pgpool.childMaxConnections The maximum number of client connections in each child process (PGPOOL_CHILD_MAX_CONNECTIONS)
## ref: https://github.com/bitnami/containers/tree/main/bitnami/pgpool#configuration
##
childMaxConnections: ""
## @param pgpool.childLifeTime The time in seconds to terminate a Pgpool-II child process if it remains idle (PGPOOL_CHILD_LIFE_TIME)
## ref: https://github.com/bitnami/containers/tree/main/bitnami/pgpool#configuration
##
childLifeTime: ""
## @param pgpool.clientIdleLimit The time in seconds to disconnect a client if it remains idle since the last query (PGPOOL_CLIENT_IDLE_LIMIT)
## ref: https://github.com/bitnami/containers/tree/main/bitnami/pgpool#configuration
##
clientIdleLimit: ""
## @param pgpool.connectionLifeTime The time in seconds to terminate the cached connections to the PostgreSQL backend (PGPOOL_CONNECTION_LIFE_TIME)
## ref: https://github.com/bitnami/containers/tree/main/bitnami/pgpool#configuration
##
connectionLifeTime: ""
## @param pgpool.useLoadBalancing Use Pgpool Load-Balancing
##
useLoadBalancing: true
## @param pgpool.loadBalancingOnWrite LoadBalancer on write actions behavior
## one of: [off, transaction, trans_transaction, always]
##
loadBalancingOnWrite: transaction
## @param pgpool.configuration Pgpool configuration
## You can use this parameter to specify the content for pgpool.conf
## Otherwise, a repmgr.conf will be generated based on the environment variables
## ref: https://github.com/bitnami/containers/tree/main/bitnami/pgpool#configuration
## ref: https://github.com/bitnami/containers/tree/main/bitnami/pgpool#configuration-file
## Example:
## configuration: |-
## listen_addresses = '*'
## port = '5432'
## ...
##
configuration: ""
## @param pgpool.configurationCM ConfigMap with Pgpool configuration
## NOTE: This will override pgpool.configuration parameter
## The file used must be named `pgpool.conf`
##
configurationCM: ""
## @param pgpool.initdbScripts Dictionary of initdb scripts
## Specify dictionary of scripts to be run every time Pgpool container is initialized
## The allowed extension is `.sh`
## ref: https://github.com/bitnami/charts/tree/main/bitnami/postgresql-ha#initialize-a-fresh-instance
## e.g:
## initdbScripts:
## my_init_script.sh: |
## #!/bin/sh
## echo "Do something."
##
initdbScripts: {}
## @param pgpool.initdbScriptsCM ConfigMap with scripts to be run every time Pgpool container is initialized
## NOTE: This will override pgpool.initdbScripts
##
initdbScriptsCM: ""
## @param pgpool.initdbScriptsSecret Secret with scripts to be run every time Pgpool container is initialized
## Note: can be used with initdbScriptsCM or initdbScripts
##
initdbScriptsSecret: ""
##
## TLS configuration
##
tls:
## @param pgpool.tls.enabled Enable TLS traffic support for end-client connections