Skip to content

Commit 7f7dfd6

Browse files
committed
fixup! Merge remote-tracking branch 'upstream/main' into split-deployment
1 parent 5805155 commit 7f7dfd6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

internal/controllers/services.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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"

internal/test/resources.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1514,7 +1514,7 @@ func (r *TestResources) NewDefaultPVC() *corev1.PersistentVolumeClaim {
15141514
func (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 {
15271527
func (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
},

0 commit comments

Comments
 (0)