From 9886434422e3c76bdee2da23dfe71e295cfbe18f Mon Sep 17 00:00:00 2001 From: Erik Godding Boye Date: Fri, 13 Jan 2023 11:06:51 +0100 Subject: [PATCH] chore: adjustments for development in corporate environments --- .gitignore | 3 +++ Makefile | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 9a6960fff..0be1056be 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,6 @@ Dockerfile.cross # Kuttl /kuttl-report.xml /kubeconfig + +# Local k3d/k3s config +/registries.yaml \ No newline at end of file diff --git a/Makefile b/Makefile index 1e3310d42..34b6d0ce1 100644 --- a/Makefile +++ b/Makefile @@ -213,7 +213,8 @@ k3d-image-import: docker-build ## Imports controller image into k3d cluster k3d image import --cluster "${K3D_CLUSTER}" "${IMG}" k3d-cluster-create: ## Create a default K3d cluster - k3d cluster create "${K3D_CLUSTER}" --config test/e2e-config/k3d-config.yml + # FIXME: Remove registry-config flag when https://github.com/k3d-io/k3d/pull/1199 is released + k3d cluster create "${K3D_CLUSTER}" --config test/e2e-config/k3d-config.yml --registry-config registries.yaml k3d-cluster-delete: ## Delete the default K3d cluster k3d cluster delete "${K3D_CLUSTER}"