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

OCM-7415 | feat: Ensure account roles have expected attached policies #1966

Merged
merged 1 commit into from May 9, 2024

Conversation

marcolan018
Copy link
Contributor

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 26, 2024
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 26, 2024
@marcolan018 marcolan018 force-pushed the ocm-7415 branch 3 times, most recently from e1b14b6 to 9f95b8d Compare May 7, 2024 01:20
@marcolan018 marcolan018 changed the title (Draft)OCM-7415 | feat: Ensure account roles have expected attached policies OCM-7415 | feat: Ensure account roles have expected attached policies May 7, 2024
Copy link

codecov bot commented May 7, 2024

Codecov Report

Attention: Patch coverage is 25.44379% with 126 lines in your changes are missing coverage. Please review.

Project coverage is 24.32%. Comparing base (da3615e) to head (a63f63d).
Report is 21 commits behind head on master.

Files Patch % Lines
cmd/upgrade/roles/cmd.go 0.00% 69 Missing ⚠️
pkg/aws/policies.go 0.00% 23 Missing ⚠️
pkg/aws/mock_client.go 0.00% 18 Missing ⚠️
pkg/ocm/rolepolicybinding.go 0.00% 10 Missing ⚠️
pkg/helper/rolepolicybindings/helpers.go 87.75% 4 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1966      +/-   ##
==========================================
+ Coverage   24.02%   24.32%   +0.30%     
==========================================
  Files         138      140       +2     
  Lines       21425    21531     +106     
==========================================
+ Hits         5147     5238      +91     
- Misses      15876    15888      +12     
- Partials      402      405       +3     

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

cmd/upgrade/roles/cmd.go Outdated Show resolved Hide resolved
pkg/aws/policies.go Outdated Show resolved Hide resolved
pkg/aws/policies.go Outdated Show resolved Hide resolved
@davidleerh
Copy link
Contributor

small np in error messages but overall looks good to me.
Thank you for putting great effort and thought into this; considering possible edge case scenarios!

Copy link
Member

@ciaranRoche ciaranRoche left a comment

Choose a reason for hiding this comment

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

Small Nitpicks but looks good otherwise

pkg/helper/rolepolicybindings/helpers.go Outdated Show resolved Hide resolved
pkg/helper/rolepolicybindings/helpers.go Show resolved Hide resolved
@marcolan018 marcolan018 force-pushed the ocm-7415 branch 2 times, most recently from 6c9f974 to b6923f9 Compare May 9, 2024 05:30
@marcolan018
Copy link
Contributor Author

/retest

Copy link
Member

@ciaranRoche ciaranRoche left a comment

Choose a reason for hiding this comment

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

LGTM nice work

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 9, 2024
@davidleerh
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 9, 2024
Copy link
Contributor

openshift-ci bot commented May 9, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ciaranRoche, davidleerh, marcolan018

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [ciaranRoche,davidleerh]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@davidleerh
Copy link
Contributor

/retest

@marcolan018
Copy link
Contributor Author

/retest

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 0f7d409 and 2 for PR HEAD a63f63d in total

@davidleerh
Copy link
Contributor

/retest

Copy link
Contributor

openshift-ci bot commented May 9, 2024

@marcolan018: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@openshift-merge-bot openshift-merge-bot bot merged commit ffc6bca into openshift:master May 9, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants