Skip to content

Commit d5681ab

Browse files
authored
[Bugfix] Remove finalizer from Gateway (#1924)
1 parent 878b1fb commit d5681ab

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
- (Feature) (Platform) SchedulerV2 Defaults Revert
1212
- (Bugfix) Enable Probes for Single & Gateway
1313
- (Bugfix) Fix Gateway Probes with Auth Enabled
14+
- (Bugfix) Remove Finalizer from Gateway
1415

1516
## [1.2.49](https://github.com/arangodb/kube-arangodb/tree/1.2.49) (2025-06-17)
1617
- (Maintenance) Optimize go.mod

pkg/deployment/resources/pod_inspector.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ func (r *Resources) InspectPods(ctx context.Context, cachedStatus inspectorInter
106106
}
107107

108108
spec := r.context.GetSpec()
109-
groupSpec := spec.GetServerGroupSpec(group)
110109
coreContainers := getPodCoreContainers(spec.GetCoreContainers(group), pod.Spec.Containers)
111110

112111
if c, ok := memberStatus.Conditions.Get(api.ConditionTypeUpdating); ok {
@@ -116,13 +115,6 @@ func (r *Resources) InspectPods(ctx context.Context, cachedStatus inspectorInter
116115
coreContainers = coreContainers.Remove(v)
117116
}
118117
}
119-
} else {
120-
// Restore gracefulness
121-
if !k8sutil.IsPodTerminating(pod) {
122-
if err := k8sutil.EnsureFinalizerPresent(ctx, cachedStatus.PodsModInterface().V1(), pod, k8sutil.GetFinalizers(groupSpec, group)...); err != nil {
123-
log.Err(err).Error("Unable to enforce finalizer")
124-
}
125-
}
126118
}
127119

128120
// Update state

0 commit comments

Comments
 (0)