Commit 284cb9a5 authored by Christopher Harm's avatar Christopher Harm

Pulling swagger-ui image on swagger install step

parent 4b54fbc1
......@@ -414,6 +414,12 @@ func checkIfSwaggerUiInstalled() {
installed := helmReleaseInstalled("swagger-ui")
if !installed {
environment.RunRequired(true, "docker", "pull", "")
if kindProvider() {
color.New(color.FgGreen).Printf("Pushing image: '' into the kind cluster: %s\n", viper.GetString(""))
environment.RunRequired(true, "kind", "load", "docker-image", "--name", viper.GetString(""), "")
if helmVersion2() {
environment.RunRequired(true, "helm", "install", "--name", "swagger-ui", "cm/swagger-ui")
} else {
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment