• Kubernetes Submit Queue's avatar
    Merge pull request #35632 from dgoodwin/preflight-conf-fixes · a8e9a1bc
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    kubeadm: Stop assuming full ownership of /etc/kubernetes.
    
    Packages may auto-create directories in /etc/kubernetes, and users also
    need files such as cloud-config.json to be present and preserved at
    their default locations in /etc/kubernetes. As such this modifies
    pre-flight checks to only require the absence of the files and
    directories we explicitly create in kubeadm.
    
    Reset is similarly modified to not wipe out /etc/kubernetes entirely.
    When resetting directories we also now preserve the directory itself,
    but delete it's contents.
    
    Also adds tests for reset command logic specifically for /etc/kubernetes
    cleanup, to ensure user files are not inadvertently wiped out.
    a8e9a1bc
Name
Last commit
Last update
..
clicheck 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...
hyperkube Loading commit data...
kube-apiserver Loading commit data...
kube-controller-manager Loading commit data...
kube-discovery Loading commit data...
kube-dns Loading commit data...
kube-proxy Loading commit data...
kubeadm Loading commit data...
kubectl Loading commit data...
kubelet Loading commit data...
kubemark Loading commit data...
kubernetes-discovery Loading commit data...
libs/go2idl Loading commit data...
linkcheck Loading commit data...
mungedocs Loading commit data...
OWNERS Loading commit data...