mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-08-03 15:49:55 +00:00
Remove GA feature-gates (#8970)
Remove KubeletCredentialProviders and JobTrackingWithFinalizers feature-gates, both of which are GA and cannot be disabled.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 231cb6ed20)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
This commit is contained in:
committed by
Brad Davidson
parent
53c6e05ef5
commit
a503d13591
@@ -165,7 +165,6 @@ func kubeletArgs(cfg *config.Agent) map[string]string {
|
||||
|
||||
if ImageCredProvAvailable(cfg) {
|
||||
logrus.Infof("Kubelet image credential provider bin dir and configuration file found.")
|
||||
argsMap["feature-gates"] = util.AddFeatureGate(argsMap["feature-gates"], "KubeletCredentialProviders=true")
|
||||
argsMap["image-credential-provider-bin-dir"] = cfg.ImageCredProvBinDir
|
||||
argsMap["image-credential-provider-config"] = cfg.ImageCredProvConfig
|
||||
}
|
||||
|
||||
@@ -114,7 +114,6 @@ func kubeletArgs(cfg *config.Agent) map[string]string {
|
||||
|
||||
if ImageCredProvAvailable(cfg) {
|
||||
logrus.Infof("Kubelet image credential provider bin dir and configuration file found.")
|
||||
argsMap["feature-gates"] = util.AddFeatureGate(argsMap["feature-gates"], "KubeletCredentialProviders=true")
|
||||
argsMap["image-credential-provider-bin-dir"] = cfg.ImageCredProvBinDir
|
||||
argsMap["image-credential-provider-config"] = cfg.ImageCredProvConfig
|
||||
}
|
||||
|
||||
@@ -92,7 +92,6 @@ func controllerManager(ctx context.Context, cfg *config.Control) error {
|
||||
runtime := cfg.Runtime
|
||||
argsMap := map[string]string{
|
||||
"controllers": "*,tokencleaner",
|
||||
"feature-gates": "JobTrackingWithFinalizers=true",
|
||||
"kubeconfig": runtime.KubeConfigController,
|
||||
"authorization-kubeconfig": runtime.KubeConfigController,
|
||||
"authentication-kubeconfig": runtime.KubeConfigController,
|
||||
@@ -153,9 +152,7 @@ func scheduler(ctx context.Context, cfg *config.Control) error {
|
||||
|
||||
func apiServer(ctx context.Context, cfg *config.Control) error {
|
||||
runtime := cfg.Runtime
|
||||
argsMap := map[string]string{
|
||||
"feature-gates": "JobTrackingWithFinalizers=true",
|
||||
}
|
||||
argsMap := map[string]string{}
|
||||
|
||||
setupStorageBackend(argsMap, cfg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user