From 470fb50146b08a8d908381214d3d2e7e8cd60e1c Mon Sep 17 00:00:00 2001 From: Ludger Date: Wed, 30 Oct 2024 23:27:42 +0100 Subject: [PATCH] fix upercas issue --- pkg/transformer/kubernetes/kubernetes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/transformer/kubernetes/kubernetes.go b/pkg/transformer/kubernetes/kubernetes.go index 2b33af79e..f71e71761 100644 --- a/pkg/transformer/kubernetes/kubernetes.go +++ b/pkg/transformer/kubernetes/kubernetes.go @@ -617,7 +617,7 @@ func (k *Kubernetes) CreatePVC(name string, mode string, size string, selectorVa APIVersion: "v1", }, ObjectMeta: metav1.ObjectMeta{ - Name: name, + Name: FormatResourceName(name), Labels: transformer.ConfigLabels(name), }, Spec: api.PersistentVolumeClaimSpec{