From 05fe25af27e78effed79378142f436fb1d3a2f76 Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Fri, 25 Jun 2021 15:22:39 -0300 Subject: [PATCH] Delete ploncfg job after execution --- 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 e432e61..efefeba 100644 --- a/charts/portalmodelo/v0.5.0/templates/plonecfg-job.yaml +++ b/charts/portalmodelo/v0.5.0/templates/plonecfg-job.yaml @@ -11,6 +11,7 @@ spec: annotations: "helm.sh/hook": post-install,post-upgrade "helm.sh/hook-weight": "-1" + "helm.sh/hook-delete-policy": "hook-succeeded" labels: {{- include "portalmodelo.ploneSelectorLabels" . | nindent 8 }} spec: