mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Remove deprecated flag --cleanup-iptables from kube-proxy
Remove deprecated flag --cleanup-iptables from kube-proxy update license update license
This commit is contained in:
		@@ -28,7 +28,7 @@ import (
 | 
				
			|||||||
	"strings"
 | 
						"strings"
 | 
				
			||||||
	"time"
 | 
						"time"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	"k8s.io/api/core/v1"
 | 
						v1 "k8s.io/api/core/v1"
 | 
				
			||||||
	v1meta "k8s.io/apimachinery/pkg/apis/meta/v1"
 | 
						v1meta "k8s.io/apimachinery/pkg/apis/meta/v1"
 | 
				
			||||||
	"k8s.io/apimachinery/pkg/runtime"
 | 
						"k8s.io/apimachinery/pkg/runtime"
 | 
				
			||||||
	"k8s.io/apimachinery/pkg/runtime/serializer"
 | 
						"k8s.io/apimachinery/pkg/runtime/serializer"
 | 
				
			||||||
@@ -200,9 +200,6 @@ func (o *Options) AddFlags(fs *pflag.FlagSet) {
 | 
				
			|||||||
		"Maximum number of NAT connections to track (0 to leave as-is). This overrides conntrack-max-per-core and conntrack-min.")
 | 
							"Maximum number of NAT connections to track (0 to leave as-is). This overrides conntrack-max-per-core and conntrack-min.")
 | 
				
			||||||
	fs.MarkDeprecated("conntrack-max", "This feature will be removed in a later release.")
 | 
						fs.MarkDeprecated("conntrack-max", "This feature will be removed in a later release.")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	fs.BoolVar(&o.CleanupAndExit, "cleanup-iptables", o.CleanupAndExit, "If true cleanup iptables and ipvs rules and exit.")
 | 
					 | 
				
			||||||
	fs.MarkDeprecated("cleanup-iptables", "This flag is replaced by --cleanup.")
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	fs.StringVar(&o.config.ResourceContainer, "resource-container", o.config.ResourceContainer, "Absolute name of the resource-only container to create and run the Kube-proxy in (Default: /kube-proxy).")
 | 
						fs.StringVar(&o.config.ResourceContainer, "resource-container", o.config.ResourceContainer, "Absolute name of the resource-only container to create and run the Kube-proxy in (Default: /kube-proxy).")
 | 
				
			||||||
	fs.MarkDeprecated("resource-container", "This feature will be removed in a later release.")
 | 
						fs.MarkDeprecated("resource-container", "This feature will be removed in a later release.")
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user