Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pgbouncer: allow the image command to be overridden #58

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pgbouncer/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: pgbouncer
version: 0.1.1
version: 0.1.2
appVersion: 1.8.1
description: PgBouncer - lightweight connection pooler for PostgreSQL
keywords:
Expand Down
7 changes: 3 additions & 4 deletions pgbouncer/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,10 @@ spec:
- name: pgbouncer
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{ if .Values.image.command }}
command:
- pgbouncer
- -u
- pgbouncer
- /etc/pgbouncer/pgbouncer.ini
{{ toYaml .Values.image.command | nindent 12 }}
{{ end }}
env:
{{- include "pgbouncer.environment" . | nindent 12 }}
ports:
Expand Down
1 change: 1 addition & 0 deletions pgbouncer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ replicaCount: 1
image:
repository: quay.io/centerforopenscience/pgbouncer
tag: '1.8.1'
command: [ 'pgbouncer', '-u', 'pgbouncer', '/etc/pgbouncer/pgbouncer.ini' ]
pullPolicy: Always

antiAffinity: soft
Expand Down