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
142
142
kind load docker-image $(REGISTRY ) /$(IMG ) --name controller-runtime-example
143
143
144
144
$(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
146
146
kind get kubeconfig --name controller-runtime-example > $(ARTIFACT_DIR ) /kind.kubeconfig
147
147
148
148
$(ARTIFACT_DIR ) : # # Create a directory for test artifacts.
@@ -211,7 +211,7 @@ ifndef ignore-not-found
211
211
ignore-not-found = false
212
212
endif
213
213
214
- KUBECONFIG ?= $(abspath ~ /.kube/config )
214
+ KUBECONFIG ?= $(abspath ${HOME} /.kube/config )
215
215
216
216
.PHONY : install
217
217
install : manifests $(KUSTOMIZE ) # # Install APIResourceSchemas and APIExport into kcp (using $KUBECONFIG or ~/.kube/config).
Original file line number Diff line number Diff line change 61
61
62
62
func init () {
63
63
utilruntime .Must (clientgoscheme .AddToScheme (scheme ))
64
+ utilruntime .Must (apisv1alpha1 .AddToScheme (scheme ))
64
65
utilruntime .Must (datav1alpha1 .AddToScheme (scheme ))
65
66
// +kubebuilder:scaffold:scheme
66
67
You can’t perform that action at this time.
0 commit comments