mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-15 17:51:03 +00:00
[Bugfix] Fix checksum of accepted spec (#1132)
This commit is contained in:
parent
b9a76730bc
commit
d92f23614e
3 changed files with 3 additions and 2 deletions
|
@ -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=
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue