Merge pull request #64986 from ashleyschuett/fix/kubeadmmastertaints
Automatic merge from submit-queue.
Fixed taints being applied to master if NoTaintMaster is true
**What this PR does / why we need it**:
This PR fixes removing the master taint when `noTaintMaster` is true. It will append all current taints to the `taints` variable unless it is a master taint, and then assign `taints` back to the `node.Spec.Taints` property.
The function currently will add the master taint to the `taints` variable for as many taints as the master has. It will also remove any taints that are on the master.
```release-note
Fixed NoTaintMaster to remove master taint and keep all other applied taints.
```
Showing
Please
register
or
sign in
to comment