• Kubernetes Submit Queue's avatar
    Merge pull request #56535 from dims/create-volume-mount-and-host-path-for-cloud-config · 16027080
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 56400, 56535). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    Create volumeMount and hostPath for cloud config file
    
    We have a way to specify the cloudProvider in kubeadm.conf. We also
    add `--cloud-config /etc/kubernetes/cloud-config` to both the
    kubernetes api server and controller manager yaml files if one exists
    on the box. However we fail to make that file available to the
    process running in the container. We need to make this `cloud-config`
    file available to both processes similar to how controller-manager.conf
    is passed to controller manager.
    
    
    
    **What this PR does / why we need it**:
    Fixes https://github.com/kubernetes/kubeadm/issues/576
    
    **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
    Fixes #
    
    **Special notes for your reviewer**:
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    16027080
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...