diff --git a/e2e/linodevpc-controller/minimal/03-verify-vpc.yaml b/e2e/linodevpc-controller/minimal/03-verify-vpc.yaml index 9d882abd6..3bba71c50 100644 --- a/e2e/linodevpc-controller/minimal/03-verify-vpc.yaml +++ b/e2e/linodevpc-controller/minimal/03-verify-vpc.yaml @@ -2,4 +2,4 @@ apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - script: |- - URI="vpcs" FILTER="{\"label\":\"CLi-$(OBJ=linodevpcs/linodevpc-sample make getKubeUid | sed 's/-//g')\"}" make callLinodeApiGet | grep 'results": 0' + URI="vpcs" FILTER="{\"label\":\"cli-$(OBJ=linodevpcs/linodevpc-sample make getKubeUid | sed 's/-//g')\"}" make callLinodeApiGet | grep 'results": 0' diff --git a/util/helpers.go b/util/helpers.go index 3607960d3..25c0b2403 100644 --- a/util/helpers.go +++ b/util/helpers.go @@ -16,7 +16,7 @@ func Pointer[T any](t T) *T { // RenderObjectLabel renders a 63 charater long unique label func RenderObjectLabel(i types.UID) string { - return fmt.Sprintf("CLi-%s", strings.ReplaceAll(string(i), "-", "")) + return fmt.Sprintf("cli-%s", strings.ReplaceAll(string(i), "-", "")) } // CreateLinodeAPIFilter converts variables to API filter string