1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00

[Bugfix] Fix checksum of accepted spec (#1132)

This commit is contained in:
Adam Janikowski 2022-09-28 09:23:58 +02:00 committed by GitHub
parent b9a76730bc
commit d92f23614e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -9,6 +9,7 @@
- (Bugfix) Change SyncWorker Affinity to Soft - (Bugfix) Change SyncWorker Affinity to Soft
- (Feature) Add HostAliases for Sync - (Feature) Add HostAliases for Sync
- (Bugfix) Always stop Sync if disabled - (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) ## [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= - (Feature) Add new field to DeploymentReplicationStatus with details on DC2DC sync status=

View file

@ -445,7 +445,7 @@ func (d *Deployment) acceptNewSpec(ctx context.Context, depl *api.ArangoDeployme
return false, false, err 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 return true, false, nil
} }

View file

@ -30,7 +30,7 @@ var deploymentSpecDefaultsRestore = &feature{
version: "3.6.0", version: "3.6.0",
enterpriseRequired: false, enterpriseRequired: false,
enabledByDefault: true, enabledByDefault: true,
hidden: true, hidden: false,
} }
func DeploymentSpecDefaultsRestore() Feature { func DeploymentSpecDefaultsRestore() Feature {