Skip to content

Commit

Permalink
Remove subdir from mount path
Browse files Browse the repository at this point in the history
It was creating a directory named user.toml and placing the user.toml
there.

Signed-off-by: Lorenzo Manacorda <lorenzo@kinvolk.io>
  • Loading branch information
Lorenzo Manacorda committed Jan 31, 2018
1 parent 98a0160 commit 4e36d97
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 @@ -714,7 +714,7 @@ func (hc *HabitatController) newDeployment(h *habv1beta1.Habitat) (*appsv1beta1.
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/user/%s/config/%s", h.Spec.Service.Name, userTOMLFile),
MountPath: fmt.Sprintf("/hab/user/%s/config", h.Spec.Service.Name),
ReadOnly: false,
}

Expand Down

0 comments on commit 4e36d97

Please sign in to comment.