Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: missed a permission
  • Loading branch information
danielpanzella committed Jul 26, 2024
commit c6f093ac3c90d7a1771762de94d7e7ddef602088
12 changes: 1 addition & 11 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,7 @@ rules:
- events
verbs:
- create
- apiGroups:
- app
resources:
- deployments
verbs:
- create
- delete
- get
- list
- update
- watch
- patch
- apiGroups:
- apps.wandb.com
resources:
Expand Down
2 changes: 1 addition & 1 deletion controllers/weightsandbiases_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ type WeightsAndBiasesReconciler struct {
//+kubebuilder:rbac:groups=apps.wandb.com,resources=weightsandbiases/status,verbs=get;update;patch
//+kubebuilder:rbac:groups=apps.wandb.com,resources=weightsandbiases/finalizers,verbs=update
//+kubebuilder:rbac:groups="",resources=secrets;configmaps,verbs=update;delete;get;list;create;watch
//+kubebuilder:rbac:groups="",resources=events,verbs=create
//+kubebuilder:rbac:groups="",resources=events,verbs=create;patch

// Reconcile is part of the main kubernetes reconciliation loop which aims to
// move the current state of the cluster closer to the desired state.
Expand Down