File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -76,20 +76,20 @@ func (s *Service) ReconcileOIDCProvider(ctx context.Context) error {
7676 return errors .New ("s3 bucket configuration required to associate OIDC provider" )
7777 }
7878
79- if err := s .reconcileIdentityProvider (ctx ); err != nil {
79+ if err := s .reconcileBucketContents (ctx ); err != nil {
8080 return err
8181 }
8282
83- if err := s .reconcileBucketContents (ctx ); err != nil {
83+ if err := s .reconcileIdentityProvider (ctx ); err != nil {
8484 return err
8585 }
8686
87+ conditions .MarkTrue (s .scope .InfraCluster (), infrav1 .OIDCProviderReadyCondition )
88+
8789 if err := s .reconcileTrustPolicyConfigMap (ctx ); err != nil {
8890 return fmt .Errorf ("failed to reconcile trust policy config map: %w" , err )
8991 }
9092
91- conditions .MarkTrue (s .scope .InfraCluster (), infrav1 .OIDCProviderReadyCondition )
92-
9393 return nil
9494}
9595
You can’t perform that action at this time.
0 commit comments