File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -504,8 +504,12 @@ printf "%b Creating an ingress...\n" ${UNICORN_EMOJI}
504504# TODO: This should move to the chart itself
505505if [ ${offline_mode} -eq 0 ]; then
506506 curl -L https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml > " ${tmp_dir} /kind-ingress-deploy.yaml"
507- mv " ${tmp_dir} /kind-ingress-deploy.yaml" " ${demo_dir} /kind-ingress-deploy.yaml"
507+ # Disable the strict validation of the path
508+ # https://github.com/kubernetes/ingress-nginx/issues/11176
509+ # https://github.com/kubernetes/ingress-nginx/issues/10200
510+ sed -E ' s/^data: null/data:\n strict-validate-path-type: "false"/g' " ${tmp_dir} /kind-ingress-deploy.yaml" > " ${demo_dir} /kind-ingress-deploy.yaml"
508511fi
512+
509513" ${demo_dir} /kubectl" apply -f " ${demo_dir} /kind-ingress-deploy.yaml"
510514printf " %b Waiting for ingress controller to be created...\n" ${UNICORN_EMOJI}
511515" ${demo_dir} /kubectl" wait --namespace ingress-nginx \
You can’t perform that action at this time.
0 commit comments