File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed
Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
22name : pgbouncer
33description : A Helm chart for deploying PgBouncer, a PostgreSQL connection pooler, on Kubernetes
44type : application
5- version : 4.0.2
5+ version : 4.0.3
66appVersion : 1.24.1
77kubeVersion : " >= 1.31.0-0"
88icon : https://icoretech.github.io/helm/charts/pgbouncer/logo.png
Original file line number Diff line number Diff line change 2121 name : psql
2222 selector :
2323 {{- include "pgbouncer.selectorLabels" . | nindent 4 }}
24+ {{- if .Values.service.sessionAffinity }}
25+ sessionAffinity : {{ .Values.service.sessionAffinity }}
26+ {{- end }}
27+ {{- if .Values.service.sessionAffinityConfig }}
28+ sessionAffinityConfig : {{ toYaml .Values.service.sessionAffinityConfig | nindent 4 }}
29+ {{- end }}
Original file line number Diff line number Diff line change @@ -60,6 +60,14 @@ service:
6060 nodePort :
6161 # -- Internal traffic policy for the Service (Cluster or Local).
6262 internalTrafficPolicy : Cluster
63+ # -- Session Affinity for Kubernetes service, can be "None" or "ClientIP"
64+ # -- If "ClientIP", consecutive client requests will be directed to the same Pod
65+ sessionAffinity : None
66+ # -- sessionAffinityConfig Additional settings for the sessionAffinity
67+ # sessionAffinityConfig:
68+ # clientIP:
69+ # timeoutSeconds: 180
70+ sessionAffinityConfig : {}
6371
6472# -- Additional labels to add to each PgBouncer pod.
6573podLabels : {}
You can’t perform that action at this time.
0 commit comments