diff --git a/docs/book/src/cronjob-tutorial/testdata/project/.devcontainer/post-install.sh b/docs/book/src/cronjob-tutorial/testdata/project/.devcontainer/post-install.sh index 6e7ead327bb..265c43ee8d3 100644 --- a/docs/book/src/cronjob-tutorial/testdata/project/.devcontainer/post-install.sh +++ b/docs/book/src/cronjob-tutorial/testdata/project/.devcontainer/post-install.sh @@ -14,6 +14,8 @@ curl -LO "https://dl.k8s.io/release/$KUBECTL_VERSION/bin/linux/amd64/kubectl" chmod +x kubectl mv kubectl /usr/local/bin/kubectl +docker network create -d=bridge --subnet=172.19.0.0/24 kind + kind version kubebuilder version docker --version diff --git a/docs/book/src/getting-started/testdata/project/.devcontainer/post-install.sh b/docs/book/src/getting-started/testdata/project/.devcontainer/post-install.sh index 6e7ead327bb..265c43ee8d3 100644 --- a/docs/book/src/getting-started/testdata/project/.devcontainer/post-install.sh +++ b/docs/book/src/getting-started/testdata/project/.devcontainer/post-install.sh @@ -14,6 +14,8 @@ curl -LO "https://dl.k8s.io/release/$KUBECTL_VERSION/bin/linux/amd64/kubectl" chmod +x kubectl mv kubectl /usr/local/bin/kubectl +docker network create -d=bridge --subnet=172.19.0.0/24 kind + kind version kubebuilder version docker --version diff --git a/pkg/plugins/golang/v4/scaffolds/internal/templates/devcontainer.go b/pkg/plugins/golang/v4/scaffolds/internal/templates/devcontainer.go index 1c7846824a0..43b1caa8bb2 100644 --- a/pkg/plugins/golang/v4/scaffolds/internal/templates/devcontainer.go +++ b/pkg/plugins/golang/v4/scaffolds/internal/templates/devcontainer.go @@ -63,6 +63,8 @@ curl -LO "https://dl.k8s.io/release/$KUBECTL_VERSION/bin/linux/amd64/kubectl" chmod +x kubectl mv kubectl /usr/local/bin/kubectl +docker network create -d=bridge --subnet=172.19.0.0/24 kind + kind version kubebuilder version docker --version diff --git a/testdata/project-v4-multigroup-with-deploy-image/.devcontainer/post-install.sh b/testdata/project-v4-multigroup-with-deploy-image/.devcontainer/post-install.sh index 6e7ead327bb..265c43ee8d3 100644 --- a/testdata/project-v4-multigroup-with-deploy-image/.devcontainer/post-install.sh +++ b/testdata/project-v4-multigroup-with-deploy-image/.devcontainer/post-install.sh @@ -14,6 +14,8 @@ curl -LO "https://dl.k8s.io/release/$KUBECTL_VERSION/bin/linux/amd64/kubectl" chmod +x kubectl mv kubectl /usr/local/bin/kubectl +docker network create -d=bridge --subnet=172.19.0.0/24 kind + kind version kubebuilder version docker --version diff --git a/testdata/project-v4-multigroup/.devcontainer/post-install.sh b/testdata/project-v4-multigroup/.devcontainer/post-install.sh index 6e7ead327bb..265c43ee8d3 100644 --- a/testdata/project-v4-multigroup/.devcontainer/post-install.sh +++ b/testdata/project-v4-multigroup/.devcontainer/post-install.sh @@ -14,6 +14,8 @@ curl -LO "https://dl.k8s.io/release/$KUBECTL_VERSION/bin/linux/amd64/kubectl" chmod +x kubectl mv kubectl /usr/local/bin/kubectl +docker network create -d=bridge --subnet=172.19.0.0/24 kind + kind version kubebuilder version docker --version diff --git a/testdata/project-v4-with-deploy-image/.devcontainer/post-install.sh b/testdata/project-v4-with-deploy-image/.devcontainer/post-install.sh index 6e7ead327bb..265c43ee8d3 100644 --- a/testdata/project-v4-with-deploy-image/.devcontainer/post-install.sh +++ b/testdata/project-v4-with-deploy-image/.devcontainer/post-install.sh @@ -14,6 +14,8 @@ curl -LO "https://dl.k8s.io/release/$KUBECTL_VERSION/bin/linux/amd64/kubectl" chmod +x kubectl mv kubectl /usr/local/bin/kubectl +docker network create -d=bridge --subnet=172.19.0.0/24 kind + kind version kubebuilder version docker --version diff --git a/testdata/project-v4-with-grafana/.devcontainer/post-install.sh b/testdata/project-v4-with-grafana/.devcontainer/post-install.sh index 6e7ead327bb..265c43ee8d3 100644 --- a/testdata/project-v4-with-grafana/.devcontainer/post-install.sh +++ b/testdata/project-v4-with-grafana/.devcontainer/post-install.sh @@ -14,6 +14,8 @@ curl -LO "https://dl.k8s.io/release/$KUBECTL_VERSION/bin/linux/amd64/kubectl" chmod +x kubectl mv kubectl /usr/local/bin/kubectl +docker network create -d=bridge --subnet=172.19.0.0/24 kind + kind version kubebuilder version docker --version diff --git a/testdata/project-v4/.devcontainer/post-install.sh b/testdata/project-v4/.devcontainer/post-install.sh index 6e7ead327bb..265c43ee8d3 100644 --- a/testdata/project-v4/.devcontainer/post-install.sh +++ b/testdata/project-v4/.devcontainer/post-install.sh @@ -14,6 +14,8 @@ curl -LO "https://dl.k8s.io/release/$KUBECTL_VERSION/bin/linux/amd64/kubectl" chmod +x kubectl mv kubectl /usr/local/bin/kubectl +docker network create -d=bridge --subnet=172.19.0.0/24 kind + kind version kubebuilder version docker --version