From 54806b89c284047d118a72b39749506e0019b067 Mon Sep 17 00:00:00 2001 From: "kevin.qiao" Date: Sun, 19 Dec 2021 23:04:04 +0800 Subject: [PATCH] fix storage pvc (#107) --- apis/apps/v1alpha1/nebulacluster_storaged.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/apps/v1alpha1/nebulacluster_storaged.go b/apis/apps/v1alpha1/nebulacluster_storaged.go index b7868eed..d3213909 100644 --- a/apis/apps/v1alpha1/nebulacluster_storaged.go +++ b/apis/apps/v1alpha1/nebulacluster_storaged.go @@ -107,7 +107,7 @@ func (c *storagedComponent) GetLogStorageResources() *corev1.ResourceRequirement } func (c *storagedComponent) GetDataStorageResources() *corev1.ResourceRequirements { - return c.nc.Spec.Storaged.LogVolumeClaim.Resources.DeepCopy() + return c.nc.Spec.Storaged.DataVolumeClaim.Resources.DeepCopy() } func (c *storagedComponent) GetPodEnvVars() []corev1.EnvVar {