sunguroku 5 vuotta sitten
vanhempi
sitoutus
4a666a6aa8
2 muutettua tiedostoa jossa 4 lisäystä ja 2 poistoa
  1. 3 1
      .gitignore
  2. 1 1
      server/api/deploy_handler.go

+ 3 - 1
.gitignore

@@ -5,4 +5,6 @@ app
 *.db
 test.yaml
 dist
-gon.hcl
+gon.hcl
+internal/local_templates
+docker/prod.Dockerfile

+ 1 - 1
server/api/deploy_handler.go

@@ -99,7 +99,7 @@ func (app *App) HandleDeployTemplate(w http.ResponseWriter, r *http.Request) {
 	}
 
 	// Output values.yaml string
-	_, err = agent.InstallChart(baseURL+"react-0.1.5.tgz", v)
+	_, err = agent.InstallChart("./internal/local_templates/react-0.1.5.tgz", v)
 
 	if err != nil {
 		app.sendExternalError(err, http.StatusInternalServerError, HTTPError{