Skip to content

Commit d07a58b

Browse files
authored
feat(pgbouncer/deployment): Pass (extra) env from values (#1946)
1 parent 42b8577 commit d07a58b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

charts/sentry/templates/pgbouncer/pgbouncer-deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ spec:
2929
resources:
3030
{{ toYaml .Values.pgbouncer.resources | nindent 10 }}
3131
env:
32+
{{- if .Values.pgbouncer.env }}
33+
{{ toYaml .Values.pgbouncer.env | nindent 10 }}
34+
{{- end }}
3235
{{ include "sentry.pgbouncer.env" . | nindent 10 }}
3336
- name: PGBOUNCER_PORT
3437
value: "5432"

charts/sentry/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3114,6 +3114,7 @@ extraManifests: []
31143114

31153115
pgbouncer:
31163116
enabled: false
3117+
env: []
31173118
postgres:
31183119
cp_max: 10
31193120
cp_min: 5

0 commit comments

Comments
 (0)