Skip to content

Conversation

@AshutoshBrl
Copy link

Adressed Issue:

  • RBAC permission for the cluster to work on PersistentVolume & PersistentVolumeClaims.
  • Added switch case for returning the resourcename for PersistentVolume & PersistentVolumeClaim in singular form compatible according to k8s.

@sarosejoshi sarosejoshi requested a review from mousamdahal April 18, 2025 07:20
Comment on lines +73 to 74
// +kubebuilder:rbac:groups=core,resources=persistentvolumeclaim,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups="",resources=persistentvolumeclaim,verbs=get;list;watch;create;update;patch;delete
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove one from core and "", as keeping both of them does not make sense

@mousamdahal mousamdahal added the bug Something isn't working label Apr 23, 2025
@mousamdahal
Copy link
Contributor

@Ashutosh-Baral , can you update here after confirming test-e2e ? And if we are good to move on for this PR ? And also make the above changes which are feedbacks and resolve the conversation, if everything is good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants