From 632c2ba7c3d73f216e186f86210c76ace5e50619 Mon Sep 17 00:00:00 2001 From: Rohit Singh Date: Fri, 1 Sep 2023 08:40:54 +0000 Subject: [PATCH] Add "disable-force-detach-on-timeout" flag to kube-controller-manager Kubernetes-commit: 13dddca6a2c11a72e804f8ae65787a86be84b05a --- config/v1alpha1/types.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/v1alpha1/types.go b/config/v1alpha1/types.go index df201d9..a00fe57 100644 --- a/config/v1alpha1/types.go +++ b/config/v1alpha1/types.go @@ -179,6 +179,10 @@ type AttachDetachControllerConfiguration struct { // ReconcilerSyncLoopPeriod is the amount of time the reconciler sync states loop // wait between successive executions. Is set to 60 sec by default. ReconcilerSyncLoopPeriod metav1.Duration + // DisableForceDetachOnTimeout disables force detach when the maximum unmount + // time is exceeded. Is false by default, and thus force detach on unmount is + // enabled. + DisableForceDetachOnTimeout bool `json:"disableForceDetachOnTimeout"` } // CSRSigningControllerConfiguration contains elements describing CSRSigningController.