File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,11 @@ function _prepare_config() {
165165 cp $KIND_MANIFESTS_DIR /local-registry.yml ${CONFIG_OUT_DIR} /local-registry.yml
166166 sed -i -e " s/$_registry_name /${REGISTRY_NAME} /g" ${CONFIG_OUT_DIR} /local-registry.yml
167167 sed -i -e " s/$_registry_port /${REGISTRY_PORT} /g" ${CONFIG_OUT_DIR} /local-registry.yml
168+
169+ # make cluster-sync overwrite the CONFIG_OUT_DIR, so that we update the manifest dir directly.
170+ # TODO: configure the kepler yaml in the CONFIG_OUT_DIR, not in the MANIFEST DIR.
171+ echo " WARN: we are changing the file manifests/kubernetes/deployment.yaml"
172+ sed -i -e " s/path: \/proc/path: \/proc-host/g" manifests/kubernetes/deployment.yaml
168173}
169174
170175function _get_nodes() {
Original file line number Diff line number Diff line change @@ -7,4 +7,7 @@ containerdConfigPatches:
77 [plugins."io.containerd.grpc.v1.cri".registry.mirrors."localhost:5001"]
88 endpoint = ["http://kind-registry:5000"]
99nodes :
10- - role : control-plane
10+ - role : control-plane
11+ extraMounts :
12+ - hostPath : /proc
13+ containerPath : /proc-host
You can’t perform that action at this time.
0 commit comments