diff --git a/pkg/action/action.go b/pkg/action/action.go index 82760250f..57766c16d 100644 --- a/pkg/action/action.go +++ b/pkg/action/action.go @@ -220,6 +220,13 @@ func (cfg *Configuration) renderResources(ch *chart.Chart, values chartutil.Valu if err != nil { return hs, b, notes, errors.Wrap(err, "error while running post render on files") } + for _, hook := range hs { + sb, err := pr.Run(bytes.NewBufferString(hook.Manifest)) + if err != nil { + return hs, b, notes, errors.Wrap(err, "error while running post render on hooks manifest") + } + hook.Manifest = sb.String() + } } return hs, b, notes, nil