add filer.toml to /etc/seaweedfs

This commit is contained in:
Chris Lu 2020-11-03 20:01:19 -08:00
parent 7399cc6e30
commit 561e7fcc3a
1 changed files with 7 additions and 0 deletions

View File

@ -48,6 +48,13 @@ func (r *SeaweedReconciler) createFilerStatefulSet(m *seaweedv1.Seaweed) *appsv1
Image: m.Spec.Image, Image: m.Spec.Image,
ImagePullPolicy: m.BaseFilerSpec().ImagePullPolicy(), ImagePullPolicy: m.BaseFilerSpec().ImagePullPolicy(),
Env: append(m.BaseFilerSpec().Env(), kubernetesEnvVars...), Env: append(m.BaseFilerSpec().Env(), kubernetesEnvVars...),
VolumeMounts: []corev1.VolumeMount{
{
Name: "filer-config",
ReadOnly: true,
MountPath: "/etc/seaweedfs",
},
},
Command: []string{ Command: []string{
"/bin/sh", "/bin/sh",
"-ec", "-ec",