From 5058299a824b2b8903bc826eb4034f1b16ff4e71 Mon Sep 17 00:00:00 2001
From: Patrick
Date: Fri, 22 Feb 2019 13:32:34 +0100
Subject: [PATCH] avoid the secret changed performing upgrade (#11601)
* avoid password change when update
fix #11600
Signed-off-by: patrick
* Bump chart version
Signed-off-by: patrick
---
stable/prestashop/Chart.yaml | 2 +-
stable/prestashop/templates/secrets.yaml | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/stable/prestashop/Chart.yaml b/stable/prestashop/Chart.yaml
index 752557b345..ce49fa32e0 100644
--- a/stable/prestashop/Chart.yaml
+++ b/stable/prestashop/Chart.yaml
@@ -1,5 +1,5 @@
name: prestashop
-version: 6.1.3
+version: 6.2.0
appVersion: 1.7.5-1
description: A popular open source ecommerce solution. Professional tools are easily accessible to increase online sales including instant guest checkout, abandoned cart reminders and automated Email marketing.
keywords:
diff --git a/stable/prestashop/templates/secrets.yaml b/stable/prestashop/templates/secrets.yaml
index ed231f3c7f..6cbf304522 100644
--- a/stable/prestashop/templates/secrets.yaml
+++ b/stable/prestashop/templates/secrets.yaml
@@ -7,6 +7,8 @@ metadata:
chart: "{{ template "prestashop.chart" . }}"
release: {{ .Release.Name | quote }}
heritage: {{ .Release.Service | quote }}
+ annotations:
+ "helm.sh/hook": pre-install
type: Opaque
data:
{{- if .Values.prestashopPassword }}