ceph: osd: fix wrong log file path on host
Log file path on host for OSDs was dataDirHostPath/log/<namespace> instead of dataDirHostPath/<namespace>/log as with other daemons. Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
This commit is contained in:
2 files changed
+5
-2
No files matched your search
@@ -102,7 +102,7 @@ func PodVolumes(dataDirHostPath, namespace string, confGeneratedInPod bool) []v1
|
||||
return []v1.Volume{
|
||||
{Name: k8sutil.DataDirVolume, VolumeSource: dataDirSource},
|
||||
configVolume,
|
||||
StoredLogVolume(path.Join(dataDirHostPath, "log", namespace)),
|
||||
StoredLogVolume(path.Join(dataDirHostPath, namespace, "log")),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user