From 8f10f7891c69b7e12a575691d2f76e3199ee1953 Mon Sep 17 00:00:00 2001 From: thomasjm Date: Mon, 29 Jul 2024 02:22:06 -0700 Subject: [PATCH] Fix Minikube.getLoadedImages call --- .../lib/Test/Sandwich/Contexts/Kubernetes/Images.hs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sandwich-contexts-kubernetes/lib/Test/Sandwich/Contexts/Kubernetes/Images.hs b/sandwich-contexts-kubernetes/lib/Test/Sandwich/Contexts/Kubernetes/Images.hs index 9e720555..81c22ac2 100644 --- a/sandwich-contexts-kubernetes/lib/Test/Sandwich/Contexts/Kubernetes/Images.hs +++ b/sandwich-contexts-kubernetes/lib/Test/Sandwich/Contexts/Kubernetes/Images.hs @@ -47,7 +47,10 @@ getLoadedImages' kcc@(KubernetesClusterContext {kubernetesClusterType, kubernete Kind.getLoadedImages kcc kindClusterDriver kindBinary Nothing -- Kind.loadImage kindBinary kindClusterName image env (KubernetesClusterMinikube {..}) -> - Minikube.getLoadedImages minikubeBinary kubernetesClusterName minikubeFlags + -- Note: don't pass minikubeFlags here. These are pretty much intended for "minikube start" only. + -- TODO: clarify the documentation and possibly add an extra field where extra options can be passed + -- to "minikube image" commands. + Minikube.getLoadedImages minikubeBinary kubernetesClusterName [] -- | Load an image into a Kubernetes cluster. The image you pass may be an absolute path to a .tar or .tar.gz -- image archive, *or* the name of an image in your local Docker daemon. It will load the image onto the cluster,