Navigation Menu

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

Expose the validator crate #166

Merged
merged 1 commit into from Aug 2, 2022
Merged

Conversation

flavio
Copy link
Member

@flavio flavio commented Aug 1, 2022

kwctl uses validator too. When the validator version between kwctl and policy-evaluator is not the same, there could be compilation errors. This happens when the validator API breaks, like during the 0.15 to 0.16 upgrade.

Currently we would have to bump validator inside of policy_evaluator, tag a new release and then update both the validator and the policy_evaluator versions inside of kwctl.

By re-exposing the validator crate via the policy_evaluator we make the maintenance task easier.

kwctl uses validator too. When the `validator` version between kwctl and
policy-evaluator is not the same, there could be compilation errors.
This happens when the validator API breaks, like during the 0.15 to 0.16
upgrade.

Currently we would have to bump `validator` inside of `policy_evaluator`,
tag a new release and then update both the `validator` and the
`policy_evaluator` versions inside of kwctl.

By re-exposing the `validator` crate via the `policy_evaluator` we make
the maintenance task easier.

Signed-off-by: Flavio Castelli <fcastelli@suse.com>
@flavio flavio requested a review from a team as a code owner August 1, 2022 15:48
@flavio flavio added the kind/dependencies Pull requests that update a dependency file label Aug 1, 2022
@flavio flavio added this to Pending review in Development Aug 1, 2022
@flavio flavio merged commit 9650ed1 into kubewarden:main Aug 2, 2022
Development automation moved this from Pending review to Done (weekly) Aug 2, 2022
@flavio flavio deleted the expose-validator-crate branch August 2, 2022 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/dependencies Pull requests that update a dependency file
Projects
No open projects
Development
Done (weekly)
Development

Successfully merging this pull request may close these issues.

None yet

2 participants