mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
Fix missing __kubectl_parse_config
This commit is contained in:
parent
c577d97be9
commit
11230907b3
@ -92,7 +92,7 @@ __kubectl_config_get_users()
|
|||||||
}
|
}
|
||||||
|
|
||||||
# $1 has to be "contexts", "clusters" or "users"
|
# $1 has to be "contexts", "clusters" or "users"
|
||||||
__kubectl_config_get()
|
__kubectl_parse_config()
|
||||||
{
|
{
|
||||||
local template kubectl_out
|
local template kubectl_out
|
||||||
template="{{ range .$1 }}{{ .name }} {{ end }}"
|
template="{{ range .$1 }}{{ .name }} {{ end }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user