diff --git a/pkg/render/render.go b/pkg/render/render.go index 6adce135b..eca557dab 100644 --- a/pkg/render/render.go +++ b/pkg/render/render.go @@ -3,7 +3,6 @@ package render import ( "bytes" "io" - "io/ioutil" "os" "path/filepath" "strings" @@ -71,7 +70,7 @@ func RenderTemplate(path string, d *RenderData) ([]*unstructured.Unstructured, e tmpl.Funcs(template.FuncMap{"getOr": getOr, "isSet": isSet}) tmpl.Funcs(sprig.TxtFuncMap()) - source, err := ioutil.ReadFile(path) + source, err := os.ReadFile(path) if err != nil { return nil, errors.Wrapf(err, "failed to read manifest %s", path) }