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

Requires permission to contact the /o2ims-infrastructureInventory/v1 #225

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

alosadagrande
Copy link
Contributor

Missing permission to contact the /o2ims-infrastructureInventory/v1 API.

@@ -10,6 +10,7 @@ metadata:
name: oran-o2ims-test-client-role
rules:
- nonResourceURLs:
- /o2ims-infrastructureInventory/v1
Copy link
Contributor

@alegacy alegacy Oct 1, 2024

Choose a reason for hiding this comment

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

Did you try just removing the / and making it - /o2ims-infrastructureInventory/v1*

Copy link
Contributor Author

@alosadagrande alosadagrande Oct 2, 2024

Choose a reason for hiding this comment

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

That would work, but then we allow any call starting with v1, and there should be nothing listening on that, at least nothing we want to interact with. see 2)

  • /o2ims-infrastructureInventory/v1
    - /o2ims-infrastructureInventory/v1whatever
  • /o2ims-infrastructureInventory/v1/whatever

@alegacy
Copy link
Contributor

alegacy commented Oct 2, 2024

/lgtm
/approve

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

openshift-ci bot commented Oct 2, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alegacy

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:

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 Oct 2, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 8c1a3f7 into openshift-kni:main Oct 2, 2024
8 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.

2 participants