diff --git a/CHANGELOG.md b/CHANGELOG.md index a8ec8f3f5..b0501e1d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ - (Bugfix) Change SyncWorker Affinity to Soft - (Feature) Add HostAliases for Sync - (Bugfix) Always stop Sync if disabled +- (Bugfix) Fix checksum of accepted spec ## [1.2.17](https://github.com/arangodb/kube-arangodb/tree/1.2.17) (2022-09-22) - (Feature) Add new field to DeploymentReplicationStatus with details on DC2DC sync status= diff --git a/pkg/deployment/deployment.go b/pkg/deployment/deployment.go index 92bc24f91..5728c58d4 100644 --- a/pkg/deployment/deployment.go +++ b/pkg/deployment/deployment.go @@ -445,7 +445,7 @@ func (d *Deployment) acceptNewSpec(ctx context.Context, depl *api.ArangoDeployme return false, false, err } - if v := depl.Status.AcceptedSpecVersion; acceptedChecksum == checksum && (v != nil && *v == acceptedChecksum) { + if v := depl.Status.AcceptedSpecVersion; acceptedChecksum == checksum && (v != nil && *v == origChecksum) { return true, false, nil } diff --git a/pkg/deployment/features/deployment.go b/pkg/deployment/features/deployment.go index 8cce77ac1..847d04a9d 100644 --- a/pkg/deployment/features/deployment.go +++ b/pkg/deployment/features/deployment.go @@ -30,7 +30,7 @@ var deploymentSpecDefaultsRestore = &feature{ version: "3.6.0", enterpriseRequired: false, enabledByDefault: true, - hidden: true, + hidden: false, } func DeploymentSpecDefaultsRestore() Feature {