generated from crossplane/function-template-go
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
when setting an empty labelSelector
extraResources:
- kind: EnvironmentConfig
into: envConfs
apiVersion: apiextensions.crossplane.io/v1alpha1
type: Selector
selector:
maxMatch: 2
minMatch: 1
matchLabels: []
does not propagete an empty labelSelector to crossplane. instead omitting it altogether.
empty LabelSelectors imply they should match everything.
from api docs:
A selector to restrict the list of returned objects by their labels. Defaults to everything.
How can we reproduce it?
replace
matchLabels:
- key: type
type: Value
value: cluster
with
matchLabels: []
in example/composition.yaml
What environment did it happen in?
Function version: v0.0.3
Crossplane 1.16.0
eric-carlsson
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working