Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .changes/unreleased/operator-Fixed-20250617-113325.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
project: operator
kind: Fixed
body: Fixed a bug where pods would be restarted indefinitely in the case of config version changes when syncing cluster configuration.
time: 2025-06-17T11:33:25.480184-04:00
1 change: 1 addition & 0 deletions operator/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ This is required to ensure that a pre-existing sts can roll over to new configur
* `get` permissions on `Node` resources is now correctly configured by default.

`--set rbac.createAdditionalControllerCRs=true` is no longer required for rackawareness to work.
* Fixed a bug where pods would be restarted indefinitely in the case of config version changes when syncing cluster configuration.

## [v25.1.1-beta3](https://github.com/redpanda-data/redpanda-operator/releases/tag/operator%2Fv25.1.1-beta3) - 2025-05-07
### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import (
"bytes"
"context"
"fmt"
"strconv"
"strings"
"time"

Expand Down Expand Up @@ -606,8 +605,7 @@ func (r *RedpandaReconciler) reconcileClusterConfig(ctx context.Context, admin *
return "", false, errors.WithStack(err)
}

// TODO: this needs to be updated when the hashing code lands
return strconv.FormatInt(configStatus.Version, 10), configStatus.NeedsRestart, nil
return configStatus.PropertiesThatNeedRestartHash, configStatus.NeedsRestart, nil
}

func (r *RedpandaReconciler) configSyncMode(ctx context.Context, rp *redpandav1alpha2.Redpanda) syncclusterconfig.SyncerMode {
Expand Down