• Kubernetes Submit Queue's avatar
    Merge pull request #45376 from luxas/kubeadm_fix_taints · 5a9759b0
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 45309, 45376)
    
    kubeadm: Fix the tainting of the master node
    
    **What this PR does / why we need it**:
    
    Currently, kubeadm unintentionally removes Taints set with the kubelet flag `--register-with-taints` when creating a new Taint slice instead of appening the existing one. This PR fixes that behavior.
    
    **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
    
    **Special notes for your reviewer**:
    
    This should be a cherrypick candidate for v1.6 cc @enisoc 
    
    **Release note**:
    
    ```release-note
    kubeadm: Fix invalid assign statement so it is possible to register the master kubelet with other initial Taints
    ```
    @jbeda @dmmcquay @mikedanese @krousey PTAL, very straightforward PR
    5a9759b0
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...
genslateyaml 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...
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...
libs/go2idl Loading commit data...
linkcheck Loading commit data...
mungedocs Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...