Reconcile usergrants before tokens
[ZITADOPER-1]
This commit is contained in:
@@ -100,6 +100,10 @@ func (wr *wrappedMachineUserReconciler) Reconcile(ctx context.Context, ztdClient
|
||||
Name: "machineUser",
|
||||
Reconcile: wr.reconcileMachineUser,
|
||||
},
|
||||
{
|
||||
Name: "usergrants",
|
||||
Reconcile: wr.reconcileUserGrants,
|
||||
},
|
||||
{
|
||||
Name: "pat",
|
||||
Reconcile: wr.reconcilePAT,
|
||||
@@ -108,10 +112,6 @@ func (wr *wrappedMachineUserReconciler) Reconcile(ctx context.Context, ztdClient
|
||||
Name: "jwt",
|
||||
Reconcile: wr.reconcileJWT,
|
||||
},
|
||||
{
|
||||
Name: "usergrants",
|
||||
Reconcile: wr.reconcileUserGrants,
|
||||
},
|
||||
}
|
||||
for _, p := range phases {
|
||||
err := p.Reconcile(ctx, ztdClient)
|
||||
|
||||
Reference in New Issue
Block a user