diff --git a/controllers/controller_filer_statefulset.go b/controllers/controller_filer_statefulset.go index 5aaee49..0571dde 100644 --- a/controllers/controller_filer_statefulset.go +++ b/controllers/controller_filer_statefulset.go @@ -39,7 +39,7 @@ func (r *SeaweedReconciler) createFilerStatefulSet(m *seaweedv1.Seaweed) *appsv1 { Name: "filer-config", ReadOnly: true, - MountPath: "/etc/seaweedfs/filer.toml", + MountPath: "/etc/seaweedfs", }, }, Env: []corev1.EnvVar{ diff --git a/controllers/controller_master_statefulset.go b/controllers/controller_master_statefulset.go index a43ca8b..d571055 100644 --- a/controllers/controller_master_statefulset.go +++ b/controllers/controller_master_statefulset.go @@ -65,7 +65,7 @@ func (r *SeaweedReconciler) createMasterStatefulSet(m *seaweedv1.Seaweed) *appsv { Name: "master-config", ReadOnly: true, - MountPath: "/etc/seaweedfs/master.toml", + MountPath: "/etc/seaweedfs", }, }, Command: []string{