• Kubernetes Submit Queue's avatar
    Merge pull request #50901 from karataliu/kubeadm_zsh_completion · 16fee229
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 51244, 50559, 49770, 51194, 50901)
    
    Fix zsh completion for kubeadm
    
    **What this PR does / why we need it**:
    
    kubeadm zsh completion will report an error when using after '--flag':
    ```
    kubeadm join --token=1 __handle_flag:25: bad math expression: operand expected at end of string
    ```
    
    There is a similar bug in kubectl which has been fixed by #48553. It is due to `__kubeadm_declare` gets 'declare -A' into function scope, and `__kubeadm_declare` could be removed now.
    
    This is to port that fix here. 
    
    **Which issue this PR fixes**
    
    **Special notes for your reviewer**:
    
    **Release note**:
    16fee229
Name
Last commit
Last update
..
clicheck Loading commit data...
cloud-controller-manager Loading commit data...
gendocs Loading commit data...
genkubedocs Loading commit data...
genman Loading commit data...
genswaggertypedocs Loading commit data...
genutils Loading commit data...
genyaml Loading commit data...
gke-certificates-controller Loading commit data...
hyperkube Loading commit data...
importverifier Loading commit data...
kube-apiserver Loading commit data...
kube-controller-manager Loading commit data...
kube-proxy Loading commit data...
kubeadm Loading commit data...
kubectl Loading commit data...
kubelet Loading commit data...
kubemark Loading commit data...
linkcheck Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...