From 70cc1bf23feb8a7f2bd0f5019e49e72a86f3d17b Mon Sep 17 00:00:00 2001 From: Lorenzo Manacorda Date: Tue, 30 Jan 2018 14:56:30 +0100 Subject: [PATCH] Update mount path for user.toml The path was changed in https://github.com/habitat-sh/habitat/pull/3814 Signed-off-by: Lorenzo Manacorda --- pkg/controller/controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/controller.go b/pkg/controller/controller.go index d3fc6ce8..ef8f1e68 100644 --- a/pkg/controller/controller.go +++ b/pkg/controller/controller.go @@ -715,7 +715,7 @@ func (hc *HabitatController) newDeployment(h *habv1.Habitat) (*appsv1beta1.Deplo Name: initialConfigFilename, // The Habitat supervisor creates a directory for each service under /hab/svc/. // We need to place the user.toml file in there in order for it to be detected. - MountPath: fmt.Sprintf("/hab/svc/%s/%s", h.Spec.Service.Name, userTOMLFile), + MountPath: fmt.Sprintf("/hab/user/%s/config/%s", h.Spec.Service.Name, userTOMLFile), SubPath: userTOMLFile, ReadOnly: false, }