Skip to content

Commit

Permalink
change nodenames to lowercase (#141)
Browse files Browse the repository at this point in the history
Co-authored-by: Rahul Sharma <[email protected]>
  • Loading branch information
rahulait and rahulait authored Feb 27, 2024
1 parent 37dd717 commit 5153c56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e/linodevpc-controller/minimal/03-verify-vpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
2 changes: 1 addition & 1 deletion util/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5153c56

Please sign in to comment.