-
Notifications
You must be signed in to change notification settings - Fork 17
Commit 40373b6
authored
Add watch verb for storageclasses (#266)
this PR fixes the errors:
```
E0924 11:31:59.069472 1 reflector.go:150] pkg/mod/k8s.io/client-go@v0.30.2/tools/cache/reflector.go:232: Failed to watch *v1.StorageClass: unknown (get storageclasses.storage.k8s.io)
E0924 11:32:57.379956 1 reflector.go:150] pkg/mod/k8s.io/client-go@v0.30.2/tools/cache/reflector.go:232: Failed to watch *v1.StorageClass: unknown (get storageclasses.storage.k8s.io)
E0924 11:33:50.776342 1 reflector.go:150] pkg/mod/k8s.io/client-go@v0.30.2/tools/cache/reflector.go:232: Failed to watch *v1.StorageClass: unknown (get storageclasses.storage.k8s.io)
E0924 11:34:21.872401 1 reflector.go:150] pkg/mod/k8s.io/client-go@v0.30.2/tools/cache/reflector.go:232: Failed to watch *v1.StorageClass: unknown (get storageclasses.storage.k8s.io)
```
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced role permissions to include the ability to monitor changes to
resources in real-time by adding the `watch` verb.
- **Bug Fixes**
- Improved resource management capabilities for the
`EtcdClusterReconciler` by updating permissions to allow watching of
storage classes.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent ca39d30 commit 40373b6Copy full SHA for 40373b6
File tree
Expand file treeCollapse file tree
0 file changed
+0
-0
lines changedOpen diff view settings
Filter options
Expand file treeCollapse file tree
0 file changed
+0
-0
lines changedOpen diff view settings
0 commit comments