crossplane-contrib / crossplane-contrib/function-extra-resources

Support matchExpressions for selector

Open
#62 2 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
33
Forks
22
PR merge metrics
No merged PRs in 30d

Description

### What problem are you facing?
I want to select based on the existence of a label regardless of its value.

### How could this Function help solve your problem?
Offer a the standard `matchExpressions` selector API common to Kubernetes.
```
matchExpressions:
- { key: tier, operator: In, values: [cache] }
- { key: environment, operator: NotIn, values: [dev] }
- { key: environment, operator: Exists }
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.