From 86bd9ab018934ffefb6b2f600c805481eb2295b0 Mon Sep 17 00:00:00 2001 From: Ivan Zubenko Date: Fri, 2 Aug 2019 11:26:40 +0300 Subject: [PATCH] fix helm hook preventing platformonitoring deploy in new cluster (#73) --- deploy/platformmonitoringapi/templates/dockerengineapi.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy/platformmonitoringapi/templates/dockerengineapi.yml b/deploy/platformmonitoringapi/templates/dockerengineapi.yml index f508cc64..2b75b7af 100644 --- a/deploy/platformmonitoringapi/templates/dockerengineapi.yml +++ b/deploy/platformmonitoringapi/templates/dockerengineapi.yml @@ -3,7 +3,8 @@ kind: ConfigMap metadata: name: dockerengineapi annotations: - "helm.sh/hook": "pre-install,pre-upgrade,replace" + "helm.sh/hook": "pre-install,pre-upgrade" + "helm.sh/hook-delete-policy": "before-hook-creation" data: nginx.conf: |- user root root;