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

initial external data integration for validation #1573

Merged
merged 17 commits into from
Oct 13, 2021

Conversation

sozercan
Copy link
Member

Signed-off-by: Sertac Ozercan sozercan@gmail.com

What this PR does / why we need it:
As discussed this is the initial PR for external data for validation only. After this is merged, I'll rebase #1506 for mutation.

Depends on open-policy-agent/frameworks#134

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 #

Special notes for your reviewer:

Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
@codecov-commenter
Copy link

codecov-commenter commented Sep 23, 2021

Codecov Report

Merging #1573 (e507129) into master (86da9a8) will increase coverage by 0.11%.
The diff coverage is 61.86%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1573      +/-   ##
==========================================
+ Coverage   54.25%   54.37%   +0.11%     
==========================================
  Files          93       94       +1     
  Lines        8082     8193     +111     
==========================================
+ Hits         4385     4455      +70     
- Misses       3356     3391      +35     
- Partials      341      347       +6     
Flag Coverage Δ
unittests 54.37% <61.86%> (+0.11%) ⬆️

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

Impacted Files Coverage Δ
apis/status/v1beta1/zz_generated.deepcopy.go 0.00% <ø> (ø)
pkg/controller/config/config_controller.go 65.04% <0.00%> (-0.29%) ⬇️
...onstrainttemplate/constrainttemplate_controller.go 59.04% <0.00%> (-0.15%) ⬇️
pkg/mutation/match/zz_generated.deepcopy.go 0.00% <ø> (ø)
...controller/externaldata/externaldata_controller.go 57.37% <57.37%> (ø)
pkg/readiness/ready_tracker.go 69.39% <67.92%> (-0.44%) ⬇️
pkg/readiness/setup.go 53.84% <100.00%> (ø)
pkg/watch/replay.go 81.25% <0.00%> (+2.27%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 86da9a8...e507129. Read the comment docs.

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.

The overall shape of this LGTM, but haven't had time to give it a close read

go.mod Outdated Show resolved Hide resolved
main.go Show resolved Hide resolved
Makefile Show resolved Hide resolved
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
@sozercan sozercan mentioned this pull request Sep 27, 2021
14 tasks
@ritazh ritazh added this to the External data alpha milestone Sep 27, 2021
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
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 TODO and minor comments addressed.

pkg/readiness/ready_tracker.go Outdated Show resolved Hide resolved
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
@sozercan sozercan requested a review from ritazh October 2, 2021 00:39
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
Copy link
Member

@ritazh ritazh left a comment

Choose a reason for hiding this comment

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

LGTM

pending framework vendoring test failure

Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
sozercan and others added 2 commits October 12, 2021 23:38
@sozercan sozercan merged commit 40e1775 into open-policy-agent:master Oct 13, 2021
@sozercan sozercan deleted the init-externaldata branch October 13, 2021 00:31
rtmie pushed a commit to rtmie/gatekeeper that referenced this pull request Oct 31, 2021
)

Signed-off-by: Rob Mason <rob.mason@borumborad.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.

None yet

4 participants