mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-22 11:35:58 +10:00
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:
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -376,6 +376,10 @@ pgpool:
|
||||
##
|
||||
# configurationCM:
|
||||
|
||||
## Use Pgpool Load-Balancing
|
||||
##
|
||||
useLoadBalancing: true
|
||||
|
||||
## LDAP parameters
|
||||
##
|
||||
ldap:
|
||||
|
||||
Reference in New Issue
Block a user