fix: update action.go add postrenderer to Hooks Manifest

Signed-off-by: Tan Guofu <267266206@qq.com>
Signed-off-by: guofutan <guofutan@tencent.com>
pull/10873/head
Tan Guofu 3 years ago committed by guofutan
parent 001850aa4f
commit 0519200748

@ -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

Loading…
Cancel
Save