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
in example/composition.yaml
What environment did it happen in?
Function version: v0.0.3
Crossplane 1.16.0
What happened?
when setting an empty labelSelector
does not propagete an empty labelSelector to crossplane. instead omitting it altogether.
empty LabelSelectors imply they should match everything.
from api docs:
How can we reproduce it?
replace
with
in
example/composition.yamlWhat environment did it happen in?
Function version: v0.0.3
Crossplane 1.16.0