Skip to content

Commit

Permalink
Merge pull request #182 from buffalo1024/addvolume
Browse files Browse the repository at this point in the history
add new volume for localdiskmanager
  • Loading branch information
buffalo1024 authored Sep 1, 2023
2 parents ef0c08b + c4a47cd commit 1ce6a41
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion pkg/install/localdiskmanager/localdiskmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,11 @@ var ldmDaemonSet = appsv1.DaemonSet{
Name: "devmount",
MountPath: "/dev",
},

{
Name: "host-etc-hwameistor",
MountPath: "/etc/hwameistor",
MountPropagation: &install.MountPropagationBidirectional,
},
},
Env: []corev1.EnvVar{
{
Expand Down Expand Up @@ -201,6 +205,15 @@ var ldmDaemonSet = appsv1.DaemonSet{
},
},
},
{
Name: "host-etc-hwameistor",
VolumeSource: corev1.VolumeSource{
HostPath: &corev1.HostPathVolumeSource{
Path: "/etc/hwameistor",
Type: &install.HostPathDirectoryOrCreate,
},
},
},
},
},
},
Expand Down

0 comments on commit 1ce6a41

Please sign in to comment.