-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
instead of requiring user input to select deployType every time, deployType correlates 1:1 with the presence of templated folders
./charts -> helm
./base && ./overlays -> kustomize
./manifests -> manifests
at minimum, when calling generate-workflow, draft could detect if only one of these is present, and default to it instead of prompting for selection every time
additionally, abstracting the ability to update images in a deployType-agnositc interface would greatly simplify the code
draft/pkg/workflows/workflows.go
Line 37 in 0402605
| func updateProductionDeployments(deployType, dest string, flagValuesMap map[string]string, templateWriter templatewriter.TemplateWriter) error { |
Metadata
Metadata
Assignees
Labels
No labels