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

feat: allow set quantities and ignoreValues together. #31

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

jvanz
Copy link
Member

@jvanz jvanz commented Apr 12, 2024

Description

To simplify the policy settings validation and void some issues in external UI that uses Kubewarden policies, remove the settings validation the prevents users from defining the ignoreValues fields together with the quantities to be validated. Instead of causing and settings validation errors, just ignore the quantities define by the users.

Related to the problem mentioned on #29

To simplify the policy settings validation and void some issues in
external UI that uses Kubewarden policies, remove the settings
validation the prevents users from defining the `ignoreValues` fields
together with the quantities to be validated. Instead of causing and
settings validation errors, just ignore the quantities define by the
users.

Signed-off-by: José Guilherme Vanz <jguilhermevanz@suse.com>
@jvanz jvanz self-assigned this Apr 12, 2024
@jvanz jvanz requested a review from a team as a code owner April 12, 2024 13:01
@jvanz jvanz added kind/enhancement New feature or request area/policy labels Apr 12, 2024
@jvanz
Copy link
Member Author

jvanz commented Apr 12, 2024

@TechDufus are you okay with that?

@kkaempf kkaempf added this to the 1.12 milestone Apr 12, 2024
@TechDufus
Copy link
Contributor

LGTM

@jvanz jvanz merged commit 1e27218 into kubewarden:main Apr 15, 2024
4 checks passed
@jvanz jvanz deleted the ignore-values-with-quantities-set branch April 15, 2024 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/policy kind/enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants