Skip to content
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
4 changes: 2 additions & 2 deletions pgbouncer/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ Contruct and return the image to use
*/}}
{{- define "pgbouncer.image" -}}
{{- if not .Values.image.registry -}}
{{ printf "%s:%s" .Values.image.repository .Values.image.tag }}
{{ printf "%s:%s" .Values.image.repository ( default .Chart.AppVersion .Values.image.tag ) }}
{{- else -}}
{{ printf "%s/%s:%s" .Values.image.registry .Values.image.repository .Values.image.tag }}
{{ printf "%s/%s:%s" .Values.image.registry .Values.image.repository ( default .Chart.AppVersion .Values.image.tag ) }}
{{- end -}}
{{- end -}}

Expand Down
2 changes: 1 addition & 1 deletion pgbouncer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ imagePullSecrets: []
image:
registry: ""
repository: pgbouncer/pgbouncer
tag: 1.15.0
tag: '' # Overrides the tag whose default is the .Chart.appVersion
pullPolicy: IfNotPresent

## Service configuration
Expand Down