Skip to content

Commit 0895014

Browse files
committed
add export connection details, refs #25
1 parent 8c69359 commit 0895014

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

charts/pgbouncer/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: pgbouncer
33
description: A Helm chart for deploying PgBouncer, a PostgreSQL connection pooler, on Kubernetes
44
type: application
5-
version: 2.8.1
5+
version: 3.0.0
66
appVersion: 1.24.1
77
kubeVersion: ">= 1.22.0-0"
88
icon: https://icoretech.github.io/helm/charts/pgbouncer/logo.png

charts/pgbouncer/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@ The following table lists the configurable parameters of the PgBouncer chart and
6161
| minReadySeconds | int | `0` | Minimum number of seconds for which a newly created pod should be ready without crashing, before being considered available. |
6262
| nameOverride | string | `""` | Overrides the chart name for resources. If set, takes precedence over the chart's name. |
6363
| nodeSelector | object | `{}` | Node labels for pod assignment. |
64+
| pgbouncerExporter.connect_timeout | int | `10` | |
65+
| pgbouncerExporter.database | string | `"pgbouncer"` | |
6466
| pgbouncerExporter.enabled | bool | `false` | Enable or disable the PgBouncer exporter sidecar container. |
67+
| pgbouncerExporter.host | string | `"127.0.0.1"` | |
6568
| pgbouncerExporter.image.pullPolicy | string | `"IfNotPresent"` | Exporter image pull policy |
6669
| pgbouncerExporter.image.registry | string | `""` | Exporter image registry |
6770
| pgbouncerExporter.image.repository | string | `"prometheuscommunity/pgbouncer-exporter"` | Exporter image repository |
@@ -70,9 +73,11 @@ The following table lists the configurable parameters of the PgBouncer chart and
7073
| pgbouncerExporter.log.format | string | `"logfmt"` | Exporter log format (logfmt or json) |
7174
| pgbouncerExporter.log.level | string | `"info"` | Exporter log level (debug, info, warn, error) |
7275
| pgbouncerExporter.podMonitor | bool | `false` | Whether to create a PodMonitor for scraping metrics (Prometheus Operator). |
73-
| pgbouncerExporter.port | int | `9127` | The container port for the exporter. |
76+
| pgbouncerExporter.port | int | `5432` | |
7477
| pgbouncerExporter.resources | object | `{"limits":{"cpu":"250m","memory":"150Mi"},"requests":{"cpu":"30m","memory":"40Mi"}}` | Resource requests and limits for the exporter container. |
7578
| pgbouncerExporter.securityContext | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsGroup":65534,"runAsNonRoot":true,"runAsUser":65534}` | Pod security context for the exporter container. |
79+
| pgbouncerExporter.servicePort | int | `9127` | The container port for the exporter. |
80+
| pgbouncerExporter.sslmode | string | `"disable"` | |
7681
| podAnnotations | object | `{}` | Additional annotations to add to each PgBouncer pod. |
7782
| podDisruptionBudget | object | `{"enabled":false,"maxUnavailable":null,"minAvailable":null}` | Pod Disruption Budget configuration. |
7883
| podDisruptionBudget.enabled | bool | `false` | If true, create a PDB to protect PgBouncer pods from voluntary disruptions. |

0 commit comments

Comments
 (0)