make kubernetes plugin kubeconfig argument 'context' optional (#4451)

Signed-off-by: answer1991 <answer1991.chen@gmail.com>
This commit is contained in:
Jun Chen 2021-02-09 21:36:32 +08:00 committed by GitHub
parent 632463d3a9
commit a5bc3891e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 29 additions and 10 deletions

View file

@ -329,6 +329,19 @@ kubernetes cluster.local`,
},
{
`kubernetes coredns.local {
kubeconfig file
}`,
false,
"",
1,
0,
"",
"",
podModeDisabled,
fall.Zero,
},
{
`kubernetes coredns.local {
kubeconfig file context
}`,
false,