Skip to content

Commit

Permalink
Add resources for pgbouncer prometheus exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
timetinytim committed Oct 14, 2024
1 parent 6b525e1 commit e4c920b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/pgbouncer/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ spec:
secretKeyRef:
name: {{ .statsPgPasswordSecretRef.name }}
key: {{ .statsPgPasswordSecretRef.key }}
resources:
{{- toYaml .Values.prometheusExporter.resources | nindent 12 }}
{{- end }}
{{- end }}
{{- with .Values.nodeSelector }}
Expand Down
1 change: 1 addition & 0 deletions charts/pgbouncer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ prometheusExporter:
name: pgbouncer-exporter-password
key: password
installServiceMonitor: false
resources: {}

podSecurityContext:
{}
Expand Down

0 comments on commit e4c920b

Please sign in to comment.