Skip to content

Commit

Permalink
retry the entire pull-secret rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
s-amann committed Sep 28, 2023
1 parent a6ab98c commit 9ec5d88
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/cluster/acrtoken.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ func (m *manager) rotateACRTokenPassword(ctx context.Context) error {
if err != nil {
return err
}
err = m.rotateOpenShiftConfigSecret(ctx, pullSecret.Data[corev1.DockerConfigJsonKey])
err = retryOperation(func() error {
return m.rotateOpenShiftConfigSecret(ctx, pullSecret.Data[corev1.DockerConfigJsonKey])
})
if err != nil {
return err
}
Expand Down

0 comments on commit 9ec5d88

Please sign in to comment.