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: fixing nil pointer error when converting VAPB from v1beta1 to v1 and updating crypto, net (#3754) (#3766) #3781

Merged
merged 3 commits into from
Jan 23, 2025

Conversation

JaydipGabani
Copy link
Contributor

Signed-off-by: Jaydip Gabani gabanijaydip@gmail.com
(cherry picked from commit 14e6c8a)

What this PR does / why we need it:

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:

@JaydipGabani JaydipGabani requested a review from a team as a code owner January 15, 2025 22:42
@@ -12,9 +13,12 @@ import (
celSchema "github.com/open-policy-agent/frameworks/constraint/pkg/client/drivers/k8scel/schema"
regoSchema "github.com/open-policy-agent/frameworks/constraint/pkg/client/drivers/rego/schema"
"github.com/open-policy-agent/frameworks/constraint/pkg/core/templates"
"github.com/open-policy-agent/gatekeeper/v3/pkg/drivers/k8scel/transform"
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the driver code was still in CF at this point

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks! Updated the path. Should be good now.

…open-policy-agent#3754)

Signed-off-by: Jaydip Gabani <gabanijaydip@gmail.com>
(cherry picked from commit 14e6c8a)
Signed-off-by: Jaydip Gabani <gabanijaydip@gmail.com>
Signed-off-by: Jaydip Gabani <gabanijaydip@gmail.com>
(cherry picked from commit a8eb788)
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (release-3.17@e8d5d49). Learn more about missing BASE report.

Additional details and impacted files
@@               Coverage Diff               @@
##             release-3.17    #3781   +/-   ##
===============================================
  Coverage                ?   47.73%           
===============================================
  Files                   ?      219           
  Lines                   ?    18441           
  Branches                ?        0           
===============================================
  Hits                    ?     8802           
  Misses                  ?     8824           
  Partials                ?      815           
Flag Coverage Δ
unittests 47.73% <100.00%> (?)

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 JaydipGabani requested a review from a team January 22, 2025 23:28
@JaydipGabani JaydipGabani changed the title fix: fixing nil pointer error when converting VAPB from v1beta1 to v1 (#3754) fix: fixing nil pointer error when converting VAPB from v1beta1 to v1 and updating crypto, net (#3754) (#3766) Jan 23, 2025
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

@sozercan sozercan merged commit 9ff6995 into open-policy-agent:release-3.17 Jan 23, 2025
19 checks passed
@JaydipGabani JaydipGabani deleted the release-3.17 branch January 23, 2025 19:10
dhaiducek pushed a commit to dhaiducek/gatekeeper that referenced this pull request Jan 29, 2025
… and updating crypto, net (open-policy-agent#3754) (open-policy-agent#3766) (open-policy-agent#3781)

Signed-off-by: Jaydip Gabani <gabanijaydip@gmail.com>
Signed-off-by: Dale Haiducek <19750917+dhaiducek@users.noreply.github.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.

5 participants