Skip to content
This repository was 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 Oct 31, 2023
1 parent 2dc4a55 commit fa0ac2f
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 fa0ac2f

Please sign in to comment.