mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 02:41:25 +00:00
kubeadm: cri-socket
is not allowed for mixed configuration
Set the `cri-socket` both in flags and config file will hit errors, this should not be a valid case to validate in current testcases. Signed-off-by: Dave Chen <dave.chen@arm.com>
This commit is contained in:
parent
bd43394467
commit
aae1f2a85f
@ -100,7 +100,7 @@ func TestNewInitData(t *testing.T) {
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "--cri-socket and --node-name flags override config from file",
|
||||
name: "--node-name flags override config from file",
|
||||
flags: map[string]string{
|
||||
options.CfgPath: configFilePath,
|
||||
options.NodeName: "anotherName",
|
||||
|
@ -208,7 +208,7 @@ func TestNewJoinData(t *testing.T) {
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "--cri-socket and --node-name flags override config from file",
|
||||
name: "--node-name flags override config from file",
|
||||
flags: map[string]string{
|
||||
options.CfgPath: configFilePath,
|
||||
options.NodeName: "anotherName",
|
||||
|
Loading…
Reference in New Issue
Block a user