Skip to content

Commit a355094

Browse files
authored
Merge branch 'main' into patch/fix-capt-api-mapping
2 parents c0b1617 + a25a2ad commit a355094

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/rbac/role.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ rules:
1616
- apiGroups:
1717
- bmc.tinkerbell.org
1818
resources:
19-
- bmcjobs
19+
- jobs
2020
verbs:
2121
- create
2222
- get

controllers/tinkerbellmachine_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ type TinkerbellMachineReconciler struct {
5151
// +kubebuilder:rbac:groups=tinkerbell.org,resources=hardware;hardware/status,verbs=get;list;watch;update;patch
5252
// +kubebuilder:rbac:groups=tinkerbell.org,resources=templates;templates/status,verbs=get;list;watch;create;update;patch;delete
5353
// +kubebuilder:rbac:groups=tinkerbell.org,resources=workflows;workflows/status,verbs=get;list;watch;create;update;patch;delete
54-
// +kubebuilder:rbac:groups=bmc.tinkerbell.org,resources=bmcjobs,verbs=get;list;watch;create
54+
// +kubebuilder:rbac:groups=bmc.tinkerbell.org,resources=jobs,verbs=get;list;watch;create
5555

5656
// Reconcile ensures that all Tinkerbell machines are aligned with a given spec.
5757
func (tmr *TinkerbellMachineReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {

0 commit comments

Comments
 (0)