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",
|
Name: "machineUser",
|
||||||
Reconcile: wr.reconcileMachineUser,
|
Reconcile: wr.reconcileMachineUser,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
Name: "usergrants",
|
||||||
|
Reconcile: wr.reconcileUserGrants,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
Name: "pat",
|
Name: "pat",
|
||||||
Reconcile: wr.reconcilePAT,
|
Reconcile: wr.reconcilePAT,
|
||||||
@@ -108,10 +112,6 @@ func (wr *wrappedMachineUserReconciler) Reconcile(ctx context.Context, ztdClient
|
|||||||
Name: "jwt",
|
Name: "jwt",
|
||||||
Reconcile: wr.reconcileJWT,
|
Reconcile: wr.reconcileJWT,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
Name: "usergrants",
|
|
||||||
Reconcile: wr.reconcileUserGrants,
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
for _, p := range phases {
|
for _, p := range phases {
|
||||||
err := p.Reconcile(ctx, ztdClient)
|
err := p.Reconcile(ctx, ztdClient)
|
||||||
|
|||||||
Reference in New Issue
Block a user