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

fix: Remove validation of constraint template rego #3262

Merged

Conversation

mzkhan
Copy link
Contributor

@mzkhan mzkhan commented Feb 11, 2024

What this PR does / why we need it:
Removing the flag to validate rego in constraint template.

Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #3027

@mzkhan mzkhan requested a review from a team as a code owner February 11, 2024 19:40
Signed-off-by: Mohammad Zuber Khan <khan.zuber@gmail.com>
@mzkhan mzkhan force-pushed the remove_validate_template_rego branch from ba2304f to 43f33c9 Compare February 11, 2024 19:42
@JaydipGabani JaydipGabani changed the title Remove validation of constraint template rego fix: Remove validation of constraint template rego Feb 12, 2024
@codecov-commenter
Copy link

codecov-commenter commented Feb 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0bac5b0) 54.49% compared to head (8e049c6) 54.52%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3262      +/-   ##
==========================================
+ Coverage   54.49%   54.52%   +0.02%     
==========================================
  Files         134      134              
  Lines       12329    12318      -11     
==========================================
- Hits         6719     6716       -3     
+ Misses       5117     5107      -10     
- Partials      493      495       +2     
Flag Coverage Δ
unittests 54.52% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JaydipGabani
Copy link
Contributor

@mzkhan can you fix the linting error? the change looks good to me.

@sozercan sozercan added this to the v3.16.0 milestone Feb 12, 2024
@sozercan
Copy link
Member

Minor comment, otherwise LGTM

Copy link
Contributor

@maxsmythe maxsmythe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after sozercan's comment and lint errors are addressed.

Thank you for the contribution!

Signed-off-by: Mohammad Zuber Khan <khan.zuber@gmail.com>
Copy link
Member

@sozercan sozercan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! LGTM

@sozercan sozercan merged commit 9ecdd9e into open-policy-agent:master Feb 14, 2024
17 checks passed
@mzkhan mzkhan deleted the remove_validate_template_rego branch February 15, 2024 18:06
leewoobin789 pushed a commit to softlee-io/gatekeeper that referenced this pull request Apr 1, 2024
…#3262)

Signed-off-by: Mohammad Zuber Khan <khan.zuber@gmail.com>
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

Successfully merging this pull request may close these issues.

Remove validate-template-rego in 3.16
5 participants