Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
EVEREST-579: don't restart everest operator (#198)
Browse files Browse the repository at this point in the history
- Everest operator was restart during every provisioning
- It's not required on the first deploy
  • Loading branch information
Michal Kralik authored and recharte committed Oct 31, 2023
1 parent 223d6de commit df7d573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/install/operators.go
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ func (o *Operators) provisionOperators(ctx context.Context) error {
if err != nil {
return err
}
if len(deploymentsBefore) != len(deploymentsAfter) {
if len(deploymentsBefore) != 0 && len(deploymentsBefore) != len(deploymentsAfter) {
return o.restartEverestOperatorPod(ctx)
}
return nil
Expand Down

0 comments on commit df7d573

Please sign in to comment.