From b64d84b23622edb6f9e3f0b326b52ee1999b6fba Mon Sep 17 00:00:00 2001
From: Dmitriy Kharlamov <switch@bk.ru>
Date: Tue, 6 Jul 2021 12:09:59 +0300
Subject: [PATCH] ci!: bump helm version to 3 (#370)

---
 helm/postgresql/Chart.yaml             | 2 +-
 helm/postgresql/templates/secrets.yaml | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/helm/postgresql/Chart.yaml b/helm/postgresql/Chart.yaml
index 7dd29ef09..015b29c6b 100755
--- a/helm/postgresql/Chart.yaml
+++ b/helm/postgresql/Chart.yaml
@@ -1,4 +1,4 @@
-apiVersion: v1
+apiVersion: v2
 appVersion: 11.6.0
 description: Chart for PostgreSQL, an object-relational database management system
   (ORDBMS) with an emphasis on extensibility and on standards-compliance.
diff --git a/helm/postgresql/templates/secrets.yaml b/helm/postgresql/templates/secrets.yaml
index 881beb62f..02d5e4265 100755
--- a/helm/postgresql/templates/secrets.yaml
+++ b/helm/postgresql/templates/secrets.yaml
@@ -1,4 +1,3 @@
-{{ if eq .Values.global.postgresql.url "" }}
 {{- if (include "postgresql.createSecret" .) }}
 apiVersion: v1
 kind: Secret
@@ -22,4 +21,3 @@ data:
   postgresql-ldap-password: {{ .Values.ldap.bind_password | b64enc | quote }}
   {{- end }}
 {{- end -}}
-{{- end }}
\ No newline at end of file