Skip to content

Commit d5cd6e7

Browse files
committed
refactor: standardize image question across helm, kubectl, and kustomize
1 parent eddda40 commit d5cd6e7

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

cmd/init.go

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -208,14 +208,10 @@ func (cmd *InitCmd) Run(f factory.Factory) error {
208208
}
209209

210210
if selectedDeploymentOption == HelmChartOption {
211-
imageQuestion = "What is the main container image of this project which is deployed by this Helm chart? (e.g. ecr.io/project/image)"
211+
imageQuestion = "Which image do you want to develop with DevSpace?"
212212
err = configureManager.AddHelmDeployment(deploymentName)
213213
} else if selectedDeploymentOption == ManifestsOption || selectedDeploymentOption == KustomizeOption {
214-
if selectedDeploymentOption == ManifestsOption {
215-
imageQuestion = "What is the main container image of this project which is deployed by these manifests? (e.g. ecr.io/project/image)"
216-
} else {
217-
imageQuestion = "What is the main container image of this project which is deployed by this Kustomization? (e.g. ecr.io/project/image)"
218-
}
214+
imageQuestion = "Which image do you want to develop with DevSpace?"
219215
err = configureManager.AddKubectlDeployment(deploymentName, selectedDeploymentOption == KustomizeOption)
220216
}
221217

0 commit comments

Comments
 (0)