Skip to content

Commit e4c920b

Browse files
committed
Add resources for pgbouncer prometheus exporter
1 parent 6b525e1 commit e4c920b

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

charts/pgbouncer/templates/deployment.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ spec:
8181
secretKeyRef:
8282
name: {{ .statsPgPasswordSecretRef.name }}
8383
key: {{ .statsPgPasswordSecretRef.key }}
84+
resources:
85+
{{- toYaml .Values.prometheusExporter.resources | nindent 12 }}
8486
{{- end }}
8587
{{- end }}
8688
{{- with .Values.nodeSelector }}

charts/pgbouncer/values.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ prometheusExporter:
7474
name: pgbouncer-exporter-password
7575
key: password
7676
installServiceMonitor: false
77+
resources: {}
7778

7879
podSecurityContext:
7980
{}

0 commit comments

Comments
 (0)