e2e: update to Kubernetes 1.29 api

Signed-off-by: Niels de Vos <niels@nixpanic.net>
This commit is contained in:
Niels de Vos 2023-12-20 19:24:07 +01:00 committed by mergify[bot]
parent f080b9e0c9
commit 35f034f156

View File

@ -93,7 +93,7 @@ func getStaticPVC(name, pvName, size, ns, sc string, blockPVC bool) *v1.Persiste
Namespace: ns, Namespace: ns,
}, },
Spec: v1.PersistentVolumeClaimSpec{ Spec: v1.PersistentVolumeClaimSpec{
Resources: v1.ResourceRequirements{ Resources: v1.VolumeResourceRequirements{
Requests: v1.ResourceList{ Requests: v1.ResourceList{
v1.ResourceStorage: resource.MustParse(size), v1.ResourceStorage: resource.MustParse(size),
}, },