no support warnings
This commit is contained in:
parent
5115ed74d4
commit
053daed387
3
main.go
3
main.go
@ -290,7 +290,6 @@ func main() {
|
||||
tpl := template.New("base").Funcs(sprig.FuncMap())
|
||||
|
||||
values := mergeValues()
|
||||
// fmt.Fprintf(os.Stderr, "%+v\n", values)
|
||||
|
||||
if len(flag.Args()) == 0 {
|
||||
// With no provided arguments read from STDIN if anything is immediately available through it.
|
||||
@ -326,7 +325,6 @@ func main() {
|
||||
checkErr(err)
|
||||
|
||||
if flags.helm {
|
||||
fmt.Fprintf(os.Stderr, "WARN: Helm Compatibility only partially implemented.\n")
|
||||
ht = helm.NewTemplaterWithBytes(data, lo)
|
||||
} else {
|
||||
tpl, err = tpl.Parse(string(data))
|
||||
@ -336,7 +334,6 @@ func main() {
|
||||
// Otherwise use the provided tplFiles/directories for templates to render.
|
||||
tplFiles := expandFiles(flag.Args())
|
||||
if flags.helm {
|
||||
fmt.Fprintf(os.Stderr, "WARN: Helm Compatibility only partially implemented.\n")
|
||||
ht, err = helm.NewTemplaterWithFiles(tplFiles, lo)
|
||||
checkErr(err)
|
||||
rendered, err := ht.Render(values)
|
||||
|
Loading…
Reference in New Issue
Block a user