add filer.toml to /etc/seaweedfs
This commit is contained in:
parent
7399cc6e30
commit
561e7fcc3a
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue