Skip to content
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

Support for more complex field selector filtering #40

Closed
Iceber opened this issue Jan 4, 2022 · 0 comments
Closed

Support for more complex field selector filtering #40

Iceber opened this issue Jan 4, 2022 · 0 comments

Comments

@Iceber
Copy link
Member

Iceber commented Jan 4, 2022

The current filter selector supports filtering on fields and values (eg. --filter-selector="spec.replicas=1"), but in some cases we need to compare two fields within a resource.
eg. --field-selector="spec.replicas == .status.readyReplicas"

Currently, when comparing between two fields, it looks like it needs to support only == and !=.
There is also the question of how to better distinguish between field comparisons and field-value comparisons.

@Iceber Iceber closed this as completed Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant