• Kubernetes Submit Queue's avatar
    Merge pull request #44444 from fabriziopandini/kubeadm-certs-1 · 708d30a8
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Add --apiserver-advertise-address option to kubeadm alpha phase certs…
    
    **What this PR does / why we need it**:
    `kubeadm alpha phase certs` command currently does not support `--apiserver-advertise-address` options, and certificates by default are linked to the bind address of the machine where the kubeadm command is run. This behaviour is not adequate f.i. for use cases where you are using `kubeadm alpha phase certs` for an HA deployments or for use cases where you generate certificates on a machine different that the master.
    
    The PR adds support for `--apiserver-advertise-address` to `kubeadm alpha phase certs`, with the following behaviour:
    - if `--apiserver-advertise-address` is specified and valid, certificates are linked to the given IP
    - if `--apiserver-advertise-address` is specified but not valid, the given ip is not valid an error is given
    
    **Special notes for your reviewer**:
    Implementation follow the track already in place for other flags (with validation, but no tests).
    708d30a8
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...