Skip to content

Bug 2037483: Allow CBO to list Pods only in the openshift-machine-api namespace#227

Merged
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
sadasu:sadasu-2034929
Jan 10, 2022
Merged

Bug 2037483: Allow CBO to list Pods only in the openshift-machine-api namespace#227
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
sadasu:sadasu-2034929

Conversation

@sadasu
Copy link
Contributor

@sadasu sadasu commented Jan 4, 2022

CBO should be able to list the Pods running in the openshift-machine-api namespace to determine the Pod's IP to create the i-c-c deployment. Also, removing CBO's cluster wide permissions to get and list Pods.

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 4, 2022
@openshift-ci openshift-ci bot requested review from hardys and zaneb January 4, 2022 20:56
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 4, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sadasu

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

The pull request process is described here

Details Needs approval from an approver in each of these files:

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 4, 2022
@sadasu
Copy link
Contributor Author

sadasu commented Jan 4, 2022

/test e2e-metal-ipi-virtualmedia

@zaneb
Copy link
Member

zaneb commented Jan 4, 2022

I think the current permissions added in #225 allow us to list Pods in every namespace - so it will be working, but we should definitely narrow it down to just openshift-machine-api.

@sadasu
Copy link
Contributor Author

sadasu commented Jan 5, 2022

/retest

@sadasu
Copy link
Contributor Author

sadasu commented Jan 5, 2022

/test e2e-metal-ipi-ovn-ipv6

@sadasu sadasu changed the title WIP: Allow CBO to list Pods in the openshift-machine-api namespace Bug 2037483: Allow CBO to list Pods in the openshift-machine-api namespace Jan 5, 2022
@openshift-ci openshift-ci bot added bugzilla/severity-medium Referenced Bugzilla bug's severity is medium for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. and removed do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. labels Jan 5, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 5, 2022

@sadasu: This pull request references Bugzilla bug 2037483, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.10.0) matches configured target release for branch (4.10.0)
  • bug is in the state NEW, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

No GitHub users were found matching the public email listed for the QA contact in Bugzilla (augol@redhat.com), skipping review request.

Details

In response to this:

Bug 2037483: Allow CBO to list Pods in the openshift-machine-api namespace

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/test-infra repository.

@sadasu sadasu changed the title Bug 2037483: Allow CBO to list Pods in the openshift-machine-api namespace Bug 2037483: Allow CBO to list Pods only in the openshift-machine-api namespace Jan 5, 2022
@ardaguclu
Copy link
Member

Good point, maybe we can also remove these permissions

in this PR

@sadasu
Copy link
Contributor Author

sadasu commented Jan 7, 2022

/test e2e-agnostic

Seems like a temporary error

@ardaguclu
Copy link
Member

/test e2e-metal-ipi-virtualmedia

Maybe this job is the main indicator

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 7, 2022

@sadasu: This pull request references Bugzilla bug 2037483, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.10.0) matches configured target release for branch (4.10.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

No GitHub users were found matching the public email listed for the QA contact in Bugzilla (augol@redhat.com), skipping review request.

Details

In response to this:

Bug 2037483: Allow CBO to list Pods only in the openshift-machine-api namespace

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/test-infra repository.

@ardaguclu
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 10, 2022
@openshift-bot
Copy link

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 10, 2022

@sadasu: all tests passed!

Full PR test history. Your PR dashboard.

Details

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/test-infra repository. I understand the commands that are listed here.

@openshift-merge-robot openshift-merge-robot merged commit 9611d25 into openshift:master Jan 10, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 10, 2022

@sadasu: All pull requests linked via external trackers have merged:

Bugzilla bug 2037483 has been moved to the MODIFIED state.

Details

In response to this:

Bug 2037483: Allow CBO to list Pods only in the openshift-machine-api namespace

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/test-infra repository.

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. bugzilla/severity-medium Referenced Bugzilla bug's severity is medium for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

Comments