Merge pull request #1825 from zero-plus-x/add-load-balancing-mode-setting

[bitnami/chart] Support setting of Pgpool Load-Balancing mode
This commit is contained in:
Rafael Ríos Saavedra
2020-01-20 13:47:25 +01:00
committed by GitHub
5 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: postgresql-ha
version: 1.2.1
version: 1.3.0
appVersion: 11.6.0
description: Chart for PostgreSQL with HA architecture (using Replication Manager (repmgr) and Pgpool).
keywords:
+1
View File
@@ -132,6 +132,7 @@ The following table lists the configurable parameters of the PostgreSQL HA chart
| `pgpool.adminPassword` | Pgpool Admin password | `nil` |
| `pgpool.configuration` | Content of pgpool.conf | `nil` |
| `pgpool.configurationCM` | ConfigMap with the Pgpool configuration file (Note: Overrides `pgpol.configuration`) | `nil` (The value is evaluated as a template) |
| `pgpool.useLoadBalancing` | If true, use Pgpool Load-Balancing | `true` |
| **LDAP** | | |
| `ldap.enabled` | Enable LDAP support | `false` |
| `ldap.existingSecret` | Name of existing secret to use for LDAP passwords | `nil` |
@@ -105,6 +105,8 @@ spec:
name: {{ include "postgresql-ha.postgresqlSecretName" . }}
key: repmgr-password
{{- end }}
- name: PGPOOL_ENABLE_LOAD_BALANCING
value: {{ ternary "yes" "no" .Values.pgpool.useLoadBalancing | quote }}
- name: PGPOOL_ENABLE_LDAP
value: {{ ternary "yes" "no" .Values.ldap.enabled | quote }}
{{- if .Values.ldap.enabled }}
@@ -376,6 +376,10 @@ pgpool:
##
# configurationCM:
## Use Pgpool Load-Balancing
##
useLoadBalancing: true
## LDAP parameters
##
ldap:
+4
View File
@@ -376,6 +376,10 @@ pgpool:
##
# configurationCM:
## Use Pgpool Load-Balancing
##
useLoadBalancing: true
## LDAP parameters
##
ldap: