File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import (
1818 "context"
1919 "fmt"
2020 "net/url"
21+ "strconv"
2122
2223 operatorv1beta2 "github.com/cryostatio/cryostat-operator/api/v1beta2"
2324 common "github.com/cryostatio/cryostat-operator/internal/controllers/common"
Original file line number Diff line number Diff line change @@ -1514,7 +1514,7 @@ func (r *TestResources) NewDefaultPVC() *corev1.PersistentVolumeClaim {
15141514func (r * TestResources ) NewDatabasePVC () * corev1.PersistentVolumeClaim {
15151515 return r .newPVC (& corev1.PersistentVolumeClaimSpec {
15161516 AccessModes : []corev1.PersistentVolumeAccessMode {corev1 .ReadWriteOnce },
1517- Resources : corev1.ResourceRequirements {
1517+ Resources : corev1.VolumeResourceRequirements {
15181518 Requests : corev1.ResourceList {
15191519 corev1 .ResourceStorage : resource .MustParse ("500Mi" ),
15201520 },
@@ -1527,7 +1527,7 @@ func (r *TestResources) NewDatabasePVC() *corev1.PersistentVolumeClaim {
15271527func (r * TestResources ) NewStoragePVC () * corev1.PersistentVolumeClaim {
15281528 return r .newPVC (& corev1.PersistentVolumeClaimSpec {
15291529 AccessModes : []corev1.PersistentVolumeAccessMode {corev1 .ReadWriteOnce },
1530- Resources : corev1.ResourceRequirements {
1530+ Resources : corev1.VolumeResourceRequirements {
15311531 Requests : corev1.ResourceList {
15321532 corev1 .ResourceStorage : resource .MustParse ("500Mi" ),
15331533 },
You can’t perform that action at this time.
0 commit comments