Update k8s.io/api + fix changed function

This commit is contained in:
2024-04-11 09:34:58 +02:00
parent 81ea0fbb6f
commit c41fa22c59
3 changed files with 52 additions and 36 deletions

View File

@@ -42,7 +42,7 @@ func NewVolumeClaim(service types.ServiceConfig, volumeName, appName string) *Vo
v1.ReadWriteOnce,
},
StorageClassName: utils.StrPtr(`{{ .Values.` + service.Name + `.persistence.` + volumeName + `.storageClass }}`),
Resources: v1.ResourceRequirements{
Resources: v1.VolumeResourceRequirements{
Requests: v1.ResourceList{
v1.ResourceStorage: resource.MustParse("1Gi"),
},