Skip to content

chore: implement build requirements for label matching finding ARN #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 9, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: fix tests
  • Loading branch information
mariatsji committed May 9, 2025
commit b807b78435c506391f69390732ff94e2bf3c1a95
20 changes: 12 additions & 8 deletions fn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,12 @@ func TestRunFunction(t *testing.T) {
"kind": structpb.NewStringValue("Input"),
"metadata": structpb.NewStructValue(&structpb.Struct{
Fields: map[string]*structpb.Value{
"name": structpb.NewStringValue("test"),
"namespace": structpb.NewStringValue("test"),
"name": structpb.NewStringValue("test"),
"labels": structpb.NewStructValue(&structpb.Struct{
Fields: map[string]*structpb.Value{
"crossplane.io/claim-namespace": structpb.NewStringValue("test"),
},
}),
},
}),
"spec": structpb.NewStructValue(&structpb.Struct{
Expand Down Expand Up @@ -125,13 +129,13 @@ func TestRunFunction(t *testing.T) {
"kind": structpb.NewStringValue("Bucket"),
"metadata": structpb.NewStructValue(&structpb.Struct{
Fields: map[string]*structpb.Value{
"name": structpb.NewStringValue("test"),
"name": structpb.NewStringValue("test"),
"labels": structpb.NewStructValue(&structpb.Struct{
Fields: map[string]*structpb.Value{
"crossplane.io/claim-namespace": structpb.NewStringValue("test"),
},
}),
},
"labels": structpb.NewStructValue(&structpb.Struct{
Fields: map[string]*structpb.Value{
"crossplane.io/claim-namespace": structpb.NewStringValue("test"),
},
}),
}),
"spec": structpb.NewStructValue(&structpb.Struct{
Fields: map[string]*structpb.Value{
Expand Down
Loading