From 81cc699b191bedb2f91984a30b40eb1b6c933c3d Mon Sep 17 00:00:00 2001 From: Zixin Zhou <zhouzixin@apache.org> Date: Sun, 26 Jan 2025 15:06:38 +0800 Subject: [PATCH] [chore] Add from version for `operator.sidecarcontainers.native` gate --- pkg/featuregate/featuregate.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/featuregate/featuregate.go b/pkg/featuregate/featuregate.go index e08b0fb0c3..e0b180d447 100644 --- a/pkg/featuregate/featuregate.go +++ b/pkg/featuregate/featuregate.go @@ -44,6 +44,7 @@ var ( "operator.sidecarcontainers.native", featuregate.StageAlpha, featuregate.WithRegisterDescription("controls whether the operator supports sidecar containers as init containers. Should only be enabled on k8s v1.29+"), + featuregate.WithRegisterFromVersion("v0.111.0"), ) // PrometheusOperatorIsAvailable is the feature gate that enables features associated to the Prometheus Operator. PrometheusOperatorIsAvailable = featuregate.GlobalRegistry().MustRegister(