Skip to content

Conversation

@Anatw
Copy link
Contributor

@Anatw Anatw commented Nov 30, 2022

Short description:
  • Add functionality to role.py.
  • Refactor cluster_role.py.
  • Add add_rules() functionality.
  • Add a common function to utils.py
  • Add an example to the examples folder.
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
Bug:

@Anatw
Copy link
Contributor Author

Anatw commented Nov 30, 2022

!verified

Copy link
Collaborator

@myakove myakove left a comment

Choose a reason for hiding this comment

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

Rename the PR title, it's wrong and do not describe the PR content.

Copy link
Collaborator

@rnetser rnetser left a comment

Choose a reason for hiding this comment

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

Please update the description and title - to match what is done is the RP

@Anatw
Copy link
Contributor Author

Anatw commented Dec 4, 2022

!verified

Copy link
Collaborator

@rnetser rnetser left a comment

Choose a reason for hiding this comment

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

Please update the PR title to match the code

Copy link
Collaborator

@myakove myakove left a comment

Choose a reason for hiding this comment

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

The PR title do not reflect the PR changes.

@Anatw
Copy link
Contributor Author

Anatw commented Dec 15, 2022

!verified

 - Refactor cluster_role.py.
 - Add common code to utils.py.
 - Add an example to the README.md on how to add multiple
rules to a single Role/ClusterRole.
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@Anatw
Copy link
Contributor Author

Anatw commented Dec 19, 2022

!verified

@rnetser rnetser merged commit 4cc8fc9 into RedHatQE:main Dec 19, 2022
@Anatw
Copy link
Contributor Author

Anatw commented Jan 15, 2023

!cherry-pick v4.12

cnv-qe-bot pushed a commit that referenced this pull request Jan 15, 2023
- Refactor cluster_role.py.
 - Add common code to utils.py.
 - Add an example to the README.md on how to add multiple
rules to a single Role/ClusterRole.
@cnv-qe-bot
Copy link

Cherry-picked PR Add functionality to role.py and refactor cluster_role.py into v4.12

Anatw added a commit to Anatw/openshift-python-wrapper that referenced this pull request Feb 19, 2023
- Refactor cluster_role.py.
 - Add common code to utils.py.
 - Add an example to the README.md on how to add multiple
rules to a single Role/ClusterRole.

Signed-off-by: Anat Wax <awax@redhat.com>
Anatw added a commit to Anatw/openshift-python-wrapper that referenced this pull request Feb 21, 2023
- Refactor cluster_role.py.
 - Add common code to utils.py.
 - Add an example to the README.md on how to add multiple
rules to a single Role/ClusterRole.
Anatw added a commit to Anatw/openshift-python-wrapper that referenced this pull request Feb 21, 2023
- Refactor cluster_role.py.
 - Add common code to utils.py.
 - Add an example to the README.md on how to add multiple
rules to a single Role/ClusterRole.
rnetser pushed a commit that referenced this pull request Feb 21, 2023
- Refactor cluster_role.py.
 - Add common code to utils.py.
 - Add an example to the README.md on how to add multiple
rules to a single Role/ClusterRole.

Co-authored-by: ‪Anat Wax <46938838+Anatw@users.noreply.github.com>
Co-authored-by: Meni Yakove <441263+myakove@users.noreply.github.com>
myakove pushed a commit that referenced this pull request Aug 11, 2025
- Refactor cluster_role.py.
 - Add common code to utils.py.
 - Add an example to the README.md on how to add multiple
rules to a single Role/ClusterRole.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants