From 68480352daf9cfea8dffa49c7c5d82d0c1596149 Mon Sep 17 00:00:00 2001
From: groundhog2k <10630407+groundhog2k@users.noreply.github.com>
Date: Mon, 16 Aug 2021 15:17:08 +0200
Subject: [PATCH] Installing Commento Issue - Self Hosted Postgres (#561)

---
 charts/commento/Chart.yaml                  | 2 +-
 charts/commento/README.md                   | 2 +-
 charts/commento/templates/secureconfig.yaml | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/charts/commento/Chart.yaml b/charts/commento/Chart.yaml
index 0632e729..3225970c 100644
--- a/charts/commento/Chart.yaml
+++ b/charts/commento/Chart.yaml
@@ -7,7 +7,7 @@ type: application
 maintainers:
   - name: groundhog2k
 
-version: 0.1.15
+version: 0.1.16
 
 appVersion: "v1.8.0"
 
diff --git a/charts/commento/README.md b/charts/commento/README.md
index 12d742f9..6ffcc664 100644
--- a/charts/commento/README.md
+++ b/charts/commento/README.md
@@ -1,6 +1,6 @@
 # Commento
 
-![Version: 0.1.15](https://img.shields.io/badge/Version-0.1.15-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.8.0](https://img.shields.io/badge/AppVersion-v1.8.0-informational?style=flat-square)
+![Version: 0.1.16](https://img.shields.io/badge/Version-0.1.15-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.8.0](https://img.shields.io/badge/AppVersion-v1.8.0-informational?style=flat-square)
 
 A Helm chart for Commento on Kubernetes
 
diff --git a/charts/commento/templates/secureconfig.yaml b/charts/commento/templates/secureconfig.yaml
index 609febad..0f276587 100644
--- a/charts/commento/templates/secureconfig.yaml
+++ b/charts/commento/templates/secureconfig.yaml
@@ -19,7 +19,7 @@ data:
   {{- $_ := required "Values: externalDatabase.password is mandatory if externalDatabase is specified." .password }}
   {{- $_ := required "Values: externalDatabase.host is mandatory if externalDatabase is specified." .host }}
   {{- $_ := required "Values: externalDatabase.port is mandatory if externalDatabase is specified." .port }}
-  COMMENTO_POSTGRES: {{ (printf "mongodb://%s:%s@%s:%s/%s?sslmode=disable" .user .password .host (.port | toString) .name) | b64enc }}
+  COMMENTO_POSTGRES: {{ (printf "postgres://%s:%s@%s:%s/%s?sslmode=disable" .user .password .host (.port | toString) .name) | b64enc }}
 {{- end }}
 {{- end }}
 {{- with .Values.settings.smtp }}
-- 
GitLab