From 2a1a677e8d1da6ec3e60a39b26f8451cbc19ef1b Mon Sep 17 00:00:00 2001 From: QuantumEnigmaa Date: Tue, 6 Feb 2024 14:19:18 +0100 Subject: [PATCH] fix prometheus resource --- service/controller/resource/monitoring/prometheus/resource.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/controller/resource/monitoring/prometheus/resource.go b/service/controller/resource/monitoring/prometheus/resource.go index f2088774c..0581f4705 100644 --- a/service/controller/resource/monitoring/prometheus/resource.go +++ b/service/controller/resource/monitoring/prometheus/resource.go @@ -124,7 +124,7 @@ func toPrometheus(ctx context.Context, v interface{}, config Config) (metav1.Obj VolumeClaimTemplate: promv1.EmbeddedPersistentVolumeClaim{ Spec: corev1.PersistentVolumeClaimSpec{ AccessModes: []corev1.PersistentVolumeAccessMode{corev1.ReadWriteOnce}, - Resources: corev1.ResourceRequirements{ + Resources: corev1.VolumeResourceRequirements{ Requests: corev1.ResourceList{ corev1.ResourceStorage: storageSize, },