-
Notifications
You must be signed in to change notification settings - Fork 156
ROX-29215: Fix SecurityPolicy CRD upgrade regressions #15223
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @kylape - I've reviewed your changes - here's some feedback:
- The re-introduced
status.message
field appears misspelled asstatus.messge
in the Go type and CRD YAML; ensure all re-added fields precisely match their original names from the CRD upgrade test errors.
Here's what I looked at during the review
- 🟡 General issues: 5 issues found
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
config-controller/config/crd/bases/config.stackrox.io_securitypolicies.yaml
Outdated
Show resolved
Hide resolved
config-controller/config/crd/bases/config.stackrox.io_securitypolicies.yaml
Show resolved
Hide resolved
image/templates/helm/stackrox-central/internal/config.stackrox.io_securitypolicies.yaml
Outdated
Show resolved
Hide resolved
image/templates/helm/stackrox-central/internal/config.stackrox.io_securitypolicies.yaml
Show resolved
Hide resolved
Images are ready for the commit at 24d456c. To use with deploy scripts, first |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #15223 +/- ##
==========================================
- Coverage 49.13% 49.13% -0.01%
==========================================
Files 2558 2558
Lines 187875 187875
==========================================
- Hits 92309 92308 -1
Misses 88287 88287
- Partials 7279 7280 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Trying to fix these issues identified by the new CRD upgrade test:
I am considering Policy-as-code E2E and CRD upgrade tests passing sufficient validation.