Skip to content

Commit

Permalink
Update mount path for user.toml
Browse files Browse the repository at this point in the history
The path was changed in habitat-sh/habitat#3814

Signed-off-by: Lorenzo Manacorda <lorenzo@kinvolk.io>
  • Loading branch information
Lorenzo Manacorda committed Jan 30, 2018
1 parent 43b46f5 commit a288230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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/<servicename>.
// 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,
}
Expand Down

0 comments on commit a288230

Please sign in to comment.