fix mountpath

Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
This commit is contained in:
Howard Lau 2020-10-28 11:33:16 +00:00
parent a4b872fbbc
commit 3722dcdc0e
No known key found for this signature in database
GPG Key ID: 5CCC55849E3CF8E2
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ func (r *SeaweedReconciler) createFilerStatefulSet(m *seaweedv1.Seaweed) *appsv1
{ {
Name: "filer-config", Name: "filer-config",
ReadOnly: true, ReadOnly: true,
MountPath: "/etc/seaweedfs/filer.toml", MountPath: "/etc/seaweedfs",
}, },
}, },
Env: []corev1.EnvVar{ Env: []corev1.EnvVar{

View File

@ -65,7 +65,7 @@ func (r *SeaweedReconciler) createMasterStatefulSet(m *seaweedv1.Seaweed) *appsv
{ {
Name: "master-config", Name: "master-config",
ReadOnly: true, ReadOnly: true,
MountPath: "/etc/seaweedfs/master.toml", MountPath: "/etc/seaweedfs",
}, },
}, },
Command: []string{ Command: []string{