From 92ef95e28c611d790cd9968d24fcedc880c59dc3 Mon Sep 17 00:00:00 2001 From: Graham Dumpleton Date: Sun, 6 Aug 2023 18:21:53 +1000 Subject: [PATCH] Make sure do not error on normal comment types. --- client-programs/pkg/cmd/workshop_publish_cmd.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client-programs/pkg/cmd/workshop_publish_cmd.go b/client-programs/pkg/cmd/workshop_publish_cmd.go index 396da41f..d0aa2f0b 100644 --- a/client-programs/pkg/cmd/workshop_publish_cmd.go +++ b/client-programs/pkg/cmd/workshop_publish_cmd.go @@ -455,6 +455,8 @@ func (p *ProjectInfo) NewWorkshopPublishCmd() *cobra.Command { func processWorkshopDefinition(yamlData []byte, dataValueFlags yttcmd.DataValuesFlags) ([]byte, error) { templatingOptions := yttcmd.NewOptions() + templatingOptions.IgnoreUnknownComments = true + templatingOptions.DataValuesFlags = dataValueFlags var filesToProcess []*files.File