Skip to content

Commit fb14270

Browse files
giorio94tklauser
authored andcommitted
clustermesh: correctly mount the etcd data dir in the init container
This commit fixes an incorrect volume mount specification for the init container of the clustermesh-apiserver deployment created through 'cilium clustermesh enable', that caused the operations performed in the init container itself to be disregarded. Signed-off-by: Marco Iorio <[email protected]>
1 parent cf4b2cb commit fb14270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clustermesh/clustermesh.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ func (k *K8sClusterMesh) generateDeployment(clustermeshApiserverArgs []string) *
320320
VolumeMounts: []corev1.VolumeMount{
321321
{
322322
Name: "etcd-data-dir",
323-
MountPath: "etcd-data-dir",
323+
MountPath: "/var/run/etcd",
324324
},
325325
},
326326
},

0 commit comments

Comments
 (0)