From 994a8f629719d56faf953add4f19d0aa9a322f47 Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Wed, 2 Jun 2021 14:52:25 -0300 Subject: [PATCH] Added annotation for Helm to keep plonecfg job --- charts/portalmodelo/v0.5.0/templates/plonecfg-job.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/portalmodelo/v0.5.0/templates/plonecfg-job.yaml b/charts/portalmodelo/v0.5.0/templates/plonecfg-job.yaml index e111211..ebd3d52 100644 --- a/charts/portalmodelo/v0.5.0/templates/plonecfg-job.yaml +++ b/charts/portalmodelo/v0.5.0/templates/plonecfg-job.yaml @@ -12,6 +12,7 @@ spec: annotations: "helm.sh/hook": pre-install,pre-upgrade "helm.sh/hook-weight": "-1" + "helm.sh/resource-policy": "keep" labels: {{- include "portalmodelo.ploneSelectorLabels" . | nindent 8 }} spec: