mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #99687 from pacoxu/dual-stack/follow-up-1
cleanup: disable dual stack for some manifest UT
This commit is contained in:
commit
15213128e1
@ -598,6 +598,7 @@ func TestGetControllerManagerCommand(t *testing.T) {
|
||||
KubernetesVersion: cpVersion,
|
||||
CertificatesDir: testCertsDir,
|
||||
ClusterName: "some-other-cluster-name",
|
||||
FeatureGates: map[string]bool{features.IPv6DualStack: false},
|
||||
},
|
||||
expected: []string{
|
||||
"kube-controller-manager",
|
||||
@ -615,6 +616,7 @@ func TestGetControllerManagerCommand(t *testing.T) {
|
||||
"--authorization-kubeconfig=" + kubeadmconstants.KubernetesDir + "/controller-manager.conf",
|
||||
"--client-ca-file=" + testCertsDir + "/ca.crt",
|
||||
"--requestheader-client-ca-file=" + testCertsDir + "/front-proxy-ca.crt",
|
||||
"--feature-gates=IPv6DualStack=false",
|
||||
"--cluster-name=some-other-cluster-name",
|
||||
},
|
||||
},
|
||||
@ -679,6 +681,7 @@ func TestGetControllerManagerCommand(t *testing.T) {
|
||||
},
|
||||
CertificatesDir: testCertsDir,
|
||||
KubernetesVersion: cpVersion,
|
||||
FeatureGates: map[string]bool{features.IPv6DualStack: false},
|
||||
},
|
||||
expected: []string{
|
||||
"kube-controller-manager",
|
||||
@ -696,6 +699,7 @@ func TestGetControllerManagerCommand(t *testing.T) {
|
||||
"--authorization-kubeconfig=" + kubeadmconstants.KubernetesDir + "/controller-manager.conf",
|
||||
"--client-ca-file=" + testCertsDir + "/ca.crt",
|
||||
"--requestheader-client-ca-file=" + testCertsDir + "/front-proxy-ca.crt",
|
||||
"--feature-gates=IPv6DualStack=false",
|
||||
"--allocate-node-cidrs=true",
|
||||
"--cluster-cidr=10.0.1.15/16",
|
||||
"--service-cluster-ip-range=172.20.0.0/24",
|
||||
@ -846,7 +850,6 @@ func TestGetControllerManagerCommand(t *testing.T) {
|
||||
},
|
||||
CertificatesDir: testCertsDir,
|
||||
KubernetesVersion: cpVersion,
|
||||
FeatureGates: map[string]bool{features.IPv6DualStack: true},
|
||||
},
|
||||
expected: []string{
|
||||
"kube-controller-manager",
|
||||
@ -864,7 +867,6 @@ func TestGetControllerManagerCommand(t *testing.T) {
|
||||
"--authorization-kubeconfig=" + kubeadmconstants.KubernetesDir + "/controller-manager.conf",
|
||||
"--client-ca-file=" + testCertsDir + "/ca.crt",
|
||||
"--requestheader-client-ca-file=" + testCertsDir + "/front-proxy-ca.crt",
|
||||
"--feature-gates=IPv6DualStack=true",
|
||||
"--allocate-node-cidrs=true",
|
||||
"--cluster-cidr=10.0.1.15/16,2001:db8::/64",
|
||||
"--node-cidr-mask-size-ipv4=20",
|
||||
|
Loading…
Reference in New Issue
Block a user