Skip to content

Conversation

@xstefank
Copy link
Collaborator

@Copilot Copilot AI review requested due to automatic review settings August 18, 2025 14:45
@openshift-ci openshift-ci bot requested review from csviri and metacosm August 18, 2025 14:45
Copy link
Collaborator

@csviri csviri left a comment

Choose a reason for hiding this comment

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

LGTM

@csviri
Copy link
Collaborator

csviri commented Aug 18, 2025

pls reformat the code

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request fixes typos in YAML file references within the test suite, correcting "rback" to "rbac" (Role-Based Access Control) in multiple file paths.

  • Corrects misspelled "rback" to "rbac" in YAML file references
  • Updates 7 file path references across multiple test methods
  • Ensures consistent naming convention for RBAC-related test resources

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.


private void setNoConfigMapAccess() {
applyClusterRole("rback-test-no-configmap-access.yaml");
applyClusterRole("rbac-test-no-configmap-access.yaml");
Copy link

Copilot AI Aug 18, 2025

Choose a reason for hiding this comment

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

The typo 'rback' has been corrected to 'rbac' in the file path reference.

Copilot uses AI. Check for mistakes.

private void setNoCustomResourceAccess() {
applyClusterRole("rback-test-no-cr-access.yaml");
applyClusterRole("rbac-test-no-cr-access.yaml");
Copy link

Copilot AI Aug 18, 2025

Choose a reason for hiding this comment

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

The typo 'rback' has been corrected to 'rbac' in the file path reference.

Copilot uses AI. Check for mistakes.

private void setFullResourcesAccess() {
applyClusterRole("rback-test-full-access-role.yaml");
applyClusterRole("rbac-test-full-access-role.yaml");
Copy link

Copilot AI Aug 18, 2025

Choose a reason for hiding this comment

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

The typo 'rback' has been corrected to 'rbac' in the file path reference.

Copilot uses AI. Check for mistakes.
var role =
ReconcilerUtils.loadYaml(
Role.class, this.getClass(), "rback-test-only-main-ns-access.yaml");
Role.class, this.getClass(), "rbac-test-only-main-ns-access.yaml");
Copy link

Copilot AI Aug 18, 2025

Choose a reason for hiding this comment

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

The typo 'rback' has been corrected to 'rbac' in the file path reference.

Copilot uses AI. Check for mistakes.
var roleBinding =
ReconcilerUtils.loadYaml(
RoleBinding.class, this.getClass(), "rback-test-only-main-ns-access-binding.yaml");
RoleBinding.class, this.getClass(), "rbac-test-only-main-ns-access-binding.yaml");
Copy link

Copilot AI Aug 18, 2025

Choose a reason for hiding this comment

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

The typo 'rback' has been corrected to 'rbac' in the file path reference.

Copilot uses AI. Check for mistakes.
var clusterRoleBinding =
ReconcilerUtils.loadYaml(
ClusterRoleBinding.class, this.getClass(), "rback-test-role-binding.yaml");
ClusterRoleBinding.class, this.getClass(), "rbac-test-role-binding.yaml");
Copy link

Copilot AI Aug 18, 2025

Choose a reason for hiding this comment

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

The typo 'rback' has been corrected to 'rbac' in the file path reference.

Copilot uses AI. Check for mistakes.
var clusterRoleBinding =
ReconcilerUtils.loadYaml(
ClusterRoleBinding.class, this.getClass(), "rback-test-role-binding.yaml");
ClusterRoleBinding.class, this.getClass(), "rbac-test-role-binding.yaml");
Copy link

Copilot AI Aug 18, 2025

Choose a reason for hiding this comment

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

The typo 'rback' has been corrected to 'rbac' in the file path reference.

Copilot uses AI. Check for mistakes.
Signed-off-by: xstefank <xstefank122@gmail.com>
@xstefank
Copy link
Collaborator Author

funny note to myself: don't introduce formatting if you always forget to run the format plugin 🤦

@xstefank xstefank merged commit 38fd3fc into operator-framework:main Aug 19, 2025
25 checks passed
@xstefank xstefank deleted the fix-rbac branch August 19, 2025 05:13
@metacosm
Copy link
Collaborator

I'd rather we don't use AI on this project.

@csviri
Copy link
Collaborator

csviri commented Aug 19, 2025

I'd rather we don't use AI on this project.

Yeah, let's have a discussion about that, either on community meeting or discussion on github

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.

3 participants