From 0e953d44843ad83a005b0c324f6fd121c17f888f Mon Sep 17 00:00:00 2001 From: Michael Laccetti Date: Thu, 10 May 2018 09:46:53 -0400 Subject: [PATCH] [stable/postgresql] PostgreSQL metrics need the right username (#5407) * PostgreSQL metrics need the right username If we use `POSTGERS_USER` = `sonar`, metrics go boom. * Bump version * Bumping PostgreSQL version * Bumping PostgreSQL version * PostgreSQL metrics need the right username If we use `POSTGERS_USER` = `sonar`, metrics go boom. * Bumping PostgreSQL version --- stable/postgresql/Chart.yaml | 2 +- stable/postgresql/templates/deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/postgresql/Chart.yaml b/stable/postgresql/Chart.yaml index 35b6c2c76b..4b12e98ed2 100644 --- a/stable/postgresql/Chart.yaml +++ b/stable/postgresql/Chart.yaml @@ -1,5 +1,5 @@ name: postgresql -version: 0.11.1 +version: 0.11.2 appVersion: 9.6.2 description: Object-relational database management system (ORDBMS) with an emphasis on extensibility and on standards-compliance. keywords: diff --git a/stable/postgresql/templates/deployment.yaml b/stable/postgresql/templates/deployment.yaml index 05f6424bce..deb5695887 100644 --- a/stable/postgresql/templates/deployment.yaml +++ b/stable/postgresql/templates/deployment.yaml @@ -105,7 +105,7 @@ spec: imagePullPolicy: {{ default "" .Values.metrics.imagePullPolicy | quote }} env: - name: DATA_SOURCE_NAME - value: postgresql://postgres@127.0.0.1:5432?sslmode=disable + value: postgresql://{{ default "postgres" .Values.postgresUser }}@127.0.0.1:5432?sslmode=disable ports: - name: metrics containerPort: 9187