Skip to content

Commit

Permalink
fix: update ResourceRequirements to VolumeResourceRequirements for st…
Browse files Browse the repository at this point in the history
…orage

Signed-off-by: jiuxia211 <[email protected]>
  • Loading branch information
jiuxia211 committed Jul 21, 2024
1 parent c47bd31 commit a673c89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/operator/collector-statefulset.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func MakeFluentbitPVC(co fluentbitv1alpha2.Collector) corev1.PersistentVolumeCla

func makeDefaultFluentbitPVC(co fluentbitv1alpha2.Collector) corev1.PersistentVolumeClaim {

r := corev1.ResourceRequirements{
r := corev1.VolumeResourceRequirements{
Requests: corev1.ResourceList(map[corev1.ResourceName]resource.Quantity{corev1.ResourceStorage: resource.MustParse("1Gi")}),
}

Expand Down

0 comments on commit a673c89

Please sign in to comment.