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: RBAC config when OwnerReferencesPermissionEnforcement admission controller plugin is enabled #517

Merged
merged 1 commit into from
Apr 21, 2021

Conversation

danielpacak
Copy link
Contributor

Resolves: #514

Signed-off-by: Daniel Pacak [email protected]

resources:
- secrets
verbs:
- delete
Copy link
Contributor Author

@danielpacak danielpacak Apr 21, 2021

Choose a reason for hiding this comment

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

This is required because we set Job as the owner of a secret referred to by the Job spec.

@codecov
Copy link

codecov bot commented Apr 21, 2021

Codecov Report

Merging #517 (5cc0dad) into main (977996e) will decrease coverage by 0.45%.
The diff coverage is 80.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #517      +/-   ##
==========================================
- Coverage   70.93%   70.48%   -0.46%     
==========================================
  Files          62       63       +1     
  Lines        4012     4028      +16     
==========================================
- Hits         2846     2839       -7     
- Misses        861      873      +12     
- Partials      305      316      +11     
Impacted Files Coverage Δ
pkg/vulnerabilityreport/builder.go 80.00% <33.33%> (+0.51%) ⬆️
pkg/configauditreport/builder.go 80.48% <77.77%> (+0.48%) ⬆️
pkg/kubebench/scanner.go 90.04% <80.00%> (-0.28%) ⬇️
pkg/operator/controller/ciskubebenchreport.go 59.44% <80.00%> (-4.00%) ⬇️
pkg/kubebench/builder.go 84.61% <84.61%> (ø)
itest/matcher/matcher.go 82.27% <100.00%> (ø)
pkg/operator/controller/vulnerabilityreport.go 65.84% <0.00%> (-5.35%) ⬇️
pkg/operator/controller/configauditreport.go 69.29% <0.00%> (-0.42%) ⬇️

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 977996e...5cc0dad. Read the comment docs.

…controller is enabled

Resolves: #514

Signed-off-by: Daniel Pacak <[email protected]>
@danielpacak danielpacak merged commit d1cbe3a into main Apr 21, 2021
@danielpacak danielpacak deleted the issue_514 branch April 21, 2021 12:12
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.

Fix RBAC config when OwnerReferencesPermissionEnforcement admission controller plugin is enabled
2 participants