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

Ability to parse string expressions #25

Merged
merged 1 commit into from
Mar 29, 2024
Merged

Conversation

jordipiqueselles
Copy link
Collaborator

When we define the conditions for a webhook, now we can use plain string expressions like .containers.0.maxCPUs >= .containers.0.minCPUs + 2.

This feature will be available in the next schema version, so the behaviour of the "alpha1v1" schema keeps being the same.

@jordipiqueselles jordipiqueselles added the enhancement New feature or request label Mar 29, 2024
@jordipiqueselles jordipiqueselles added enhancement New feature or request and removed enhancement New feature or request labels Mar 29, 2024
@jordipiqueselles jordipiqueselles added enhancement New feature or request and removed enhancement New feature or request labels Mar 29, 2024
When we define the conditions for a webhook, now we can use
plain string expressions like `.containers.0.maxCPUs >=
.containers.0.minCPUs + 2`.

This feature will be available in the next schema version, so the
behaviour of the "alpha1v1" schema keeps being the same.
@jordipiqueselles jordipiqueselles added enhancement New feature or request and removed enhancement New feature or request labels Mar 29, 2024
@jordipiqueselles jordipiqueselles merged commit 9f47365 into main Mar 29, 2024
2 checks passed
@jordipiqueselles jordipiqueselles deleted the jordi/expr-parser branch March 29, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant