Skip to content
Snippets Groups Projects
Commit 84a617d3 authored by Andy Cobaugh's avatar Andy Cobaugh
Browse files

start: support additional hosts and paths for swagger

parent 0efc3980
No related branches found
No related tags found
No related merge requests found
Pipeline #178126 waiting for manual action
......@@ -426,13 +426,13 @@ func checkIfSwaggerUiInstalled() {
environment.RunRequired(true, "helm", "install",
"--name", "swagger-ui",
"--set", "ingress.enabled=true",
"--set", "ingress.hosts={kubernetes.local}",
"--set", "ingress.path=/swagger-ui", "cm/swagger-ui")
"--set", "ingress.hosts={kubernetes.local,localhost,swagger.local}",
"--set", "ingress.path={/swagger-ui,/oauth2-redirect.html}", "cm/swagger-ui")
} else {
environment.RunRequired(true, "helm", "install", "swagger-ui", "cm/swagger-ui",
"--set", "ingress.enabled=true",
"--set", "ingress.hosts={kubernetes.local,localhost}",
"--set", "ingress.path=/swagger-ui")
"--set", "ingress.hosts={kubernetes.local,localhost,swagger.local}",
"--set", "ingress.path=/swagger-ui,/oauth2-redirect.html}")
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment