This repository was archived by the owner on Apr 24, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ kind-image: docker-build ## Load the controller-manager image into the kind clus
142142 kind load docker-image $(REGISTRY ) /$(IMG ) --name controller-runtime-example
143143
144144$(ARTIFACT_DIR ) /kind.kubeconfig : $(ARTIFACT_DIR ) # # Run a kind cluster and generate a $KUBECONFIG for it.
145- @if ! kind get clusters --quiet | grep --quiet controller-runtime-example; then kind create cluster --name controller-runtime-example; fi
145+ @if ! kind get clusters --quiet | grep --quiet controller-runtime-example; then kind create cluster --name controller-runtime-example --image kindest/node:v1.24.2 ; fi
146146 kind get kubeconfig --name controller-runtime-example > $(ARTIFACT_DIR ) /kind.kubeconfig
147147
148148$(ARTIFACT_DIR ) : # # Create a directory for test artifacts.
@@ -211,7 +211,7 @@ ifndef ignore-not-found
211211 ignore-not-found = false
212212endif
213213
214- KUBECONFIG ?= $(abspath ~ /.kube/config )
214+ KUBECONFIG ?= $(abspath ${HOME} /.kube/config )
215215
216216.PHONY : install
217217install : manifests $(KUSTOMIZE ) # # Install APIResourceSchemas and APIExport into kcp (using $KUBECONFIG or ~/.kube/config).
Original file line number Diff line number Diff line change 6161
6262func init () {
6363 utilruntime .Must (clientgoscheme .AddToScheme (scheme ))
64+ utilruntime .Must (apisv1alpha1 .AddToScheme (scheme ))
6465 utilruntime .Must (datav1alpha1 .AddToScheme (scheme ))
6566 // +kubebuilder:scaffold:scheme
6667
You can’t perform that action at this time.
0 commit comments