Skip to content

Commit

Permalink
clustermesh: correctly mount the etcd data dir in the init container
Browse files Browse the repository at this point in the history
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 <marco.iorio@isovalent.com>
  • Loading branch information
giorio94 authored and tklauser committed Mar 16, 2023
1 parent cf4b2cb commit fb14270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clustermesh/clustermesh.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ func (k *K8sClusterMesh) generateDeployment(clustermeshApiserverArgs []string) *
VolumeMounts: []corev1.VolumeMount{
{
Name: "etcd-data-dir",
MountPath: "etcd-data-dir",
MountPath: "/var/run/etcd",
},
},
},
Expand Down

0 comments on commit fb14270

Please sign in to comment.