Skip to content

Commit

Permalink
Fixes incorrect token update #207
Browse files Browse the repository at this point in the history
  • Loading branch information
f41gh7 committed Mar 31, 2021
1 parent b5578fa commit 644f9ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/factory/psp/psp.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ func CreateServiceAccountForCRD(ctx context.Context, cr CRDObject, rclient clien
newSA.Finalizers = v1beta12.MergeFinalizers(&existSA, v1beta12.FinalizerName)
newSA.Annotations = labels.Merge(newSA.Annotations, existSA.Annotations)
newSA.Labels = labels.Merge(existSA.Labels, newSA.Labels)
newSA.Secrets = existSA.Secrets
return rclient.Update(ctx, newSA)
}

Expand Down

0 comments on commit 644f9ad

Please sign in to comment.