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

Role backend implementation #467

Merged
merged 15 commits into from
Aug 4, 2024
Merged

Conversation

tanbirali
Copy link
Contributor

closes #435

πŸ“‘ Description

This PR supports the fetching information about a Role
The new types are added with ref to the PR #259

βœ… Checks

  • I have updated the documentation as required
  • I have performed a self-review of my code

β„Ή Additional context

@tanbirali tanbirali requested a review from a team as a code owner July 24, 2024 13:03
@tanbirali
Copy link
Contributor Author

Made the requested changes, do have a look.

Copy link
Collaborator

@petar-cvit petar-cvit left a comment

Choose a reason for hiding this comment

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

You can add role rules to the object. mapRole function doesn't add any Role specific info to the response

cyclops-ctrl/internal/cluster/k8sclient/client.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@petar-cvit petar-cvit left a comment

Choose a reason for hiding this comment

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

@tanbirali can you run go fmt ./... from cyclops-ctrl

Copy link
Collaborator

@petar-cvit petar-cvit left a comment

Choose a reason for hiding this comment

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

@tanbirali, left one more comment, but rest of the PR looks good πŸ˜„

cyclops-ctrl/internal/cluster/k8sclient/client.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@petar-cvit petar-cvit left a comment

Choose a reason for hiding this comment

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

Thanks @tanbirali 🧑

@petar-cvit petar-cvit merged commit 45fc534 into cyclops-ui:main Aug 4, 2024
1 check passed
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.

Role Backend Implementation
2 participants