added template generation to argo builder

This commit is contained in:
pb
2024-05-06 17:01:48 +02:00
parent c79b693ba3
commit 6b6c54795c
3 changed files with 89 additions and 7 deletions

View File

@@ -2,13 +2,13 @@ package main
type Parameter struct {
Name string `yaml:"name"`
Value string `yaml:"value"`
Value string `yaml:"value,omitempty"`
}
type Container struct {
Image string `yaml:"image"`
Command []string `yaml:"command,omitempty"`
Args []string `yaml:"args,omitempty"`
Command []string `yaml:"command,omitempty,flow"`
Args []string `yaml:"args,omitempty,flow"`
VolumeMounts []VolumeMount `yaml:"volumeMounts,omitempty"`
}