diff --git a/build/kubefile/parser/kubefile.go b/build/kubefile/parser/kubefile.go index 27f2ae74e1a..37348328b13 100644 --- a/build/kubefile/parser/kubefile.go +++ b/build/kubefile/parser/kubefile.go @@ -141,7 +141,6 @@ func (kp *KubefileParser) generateResult(mainNode *Node) (*KubefileResult, error if i != len(mainNode.Children)-1 { return nil, errors.New("launch should be the last instruction") } - case command.Cmds: cmdsCnt++ if cmdsCnt > 1 { @@ -382,6 +381,9 @@ func (kp *KubefileParser) processFrom(node *Node, result *KubefileResult) error theApp := app result.Applications[app.Name()] = theApp } + for _, appConfig := range imageSpec.ImageExtension.Launch.AppConfigs { + result.ApplicationConfigs[appConfig.Name] = appConfig + } return nil }