ceph-csi/scripts
Niels de Vos 81b17c5157 ci: pass target filename of /etc/resolv.conf in case it is a symlink
In some Linux distributions the /etc/resolv.conf file is a symlink. This
file gets included in the Kubernetes containers and will be used for
resolving hostnames. By including the symlink, it is possible that that
target file is not available in the container(s). This will cause
problems when resolving hostnames, and Kubernetes will not get deployed.

The default minikube VM provides /run/systemd/resolve/resolv.conf, with
/etc/resolv.conf being a symlink. Therefor, it is needed to pass the
`--extra-config=kubelet.resolv-conf=..` parameter to `kubeadm`.

In case minikube is started with `--vm-driver=none` and
/run/systemd/resolve/resolv.conf does not exist, the local
/etc/resolv.conf will be used for inclusion in the Kubelet container. If
this is a symlink, the final destination should get passed with
`--extra-config=kubelet.resolv-conf=..` so that a working hostname
resolution configuration is available in the container.

Updates: #1121
Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-06-05 08:57:19 +00:00
..
build_step.inc.sh scripts: add build_step logging functions 2020-04-28 09:13:55 +00:00
build-multi-arch-image.sh add build step logging to multi-arch build 2020-04-28 09:13:55 +00:00
check-env.sh build: add check for functional environment 2020-05-12 10:52:59 +00:00
Dockerfile.devel containerized-build: set WORKDIR and use in make target 2020-04-23 03:41:06 +00:00
Dockerfile.test ci: install commitlint in the test container-image 2020-05-15 18:20:29 +00:00
golangci.yml Fix typo in golangci config file 2020-04-15 09:18:47 +00:00
gosec.sh cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
install-helm.sh Helm3: update scripts to install helm3 2020-04-23 04:43:04 +00:00
install-snapshot.sh script: Add script to install snapshot-controller 2020-05-15 08:19:32 +00:00
lint-extras.sh ci: updated shell script to run individual test 2020-05-14 16:54:19 +00:00
lint-go.sh replace gometalinter with golangci 2019-03-04 19:01:16 +05:30
mdl-style.rb Add static check tools 2019-02-07 12:19:14 +00:00
minikube.sh ci: pass target filename of /etc/resolv.conf in case it is a symlink 2020-06-05 08:57:19 +00:00
psp.yaml Added PodSecurityPolicy support 2020-01-22 08:19:42 +00:00
rook.sh Add support for erasure coded pools 2020-04-14 14:14:29 +00:00
skip-doc-change.sh Enable Travis to run E2E against kube 1.15.0 2019-07-02 11:47:05 +00:00
snapshot-controller-psp.yaml script: Add script to install snapshot-controller 2020-05-15 08:19:32 +00:00
test-go.sh tests: use go modules from ./vendor for running tests 2020-03-24 12:38:02 +00:00
travis-functest.sh ci: skip snapshot E2E if kube<1.17+ 2020-05-15 08:19:32 +00:00
travis-helmtest.sh ci: skip snapshot E2E if kube<1.17+ 2020-05-15 08:19:32 +00:00