File tree Expand file tree Collapse file tree 4 files changed +477
-88
lines changed Expand file tree Collapse file tree 4 files changed +477
-88
lines changed Original file line number Diff line number Diff line change 6464
6565 - name : e2e test
6666 run : |
67- # https://github.com/kubernetes-sigs/kustomize/issues/2867
68- kustomize version
69- sudo rm $(which kustomize)
70-
7167 kubectl get nodes -o wide
7268
7369 make load-kind-image install deploy
Original file line number Diff line number Diff line change 11# Build the manager binary
2- FROM golang:1.21 as builder
2+ FROM golang:1.22 as builder
33
44WORKDIR /workspace
55# Copy the Go Modules manifests
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ all: manager
2828
2929# Run tests
3030KUBEBUILDER_ASSETS =/tmp/envtest_assets.d
31- K8S_VERSION =1.22.0
31+ K8S_VERSION =1.29.1
3232GOOS =$(shell go env GOOS)
3333GOARCH =$(shell go env GOARCH)
3434test : generate fmt vet manifests
@@ -46,7 +46,7 @@ run: generate fmt vet manifests
4646
4747# Install CRDs into a cluster
4848install : manifests kustomize
49- $(KUSTOMIZE ) build config/crd | kubectl apply -f -
49+ $(KUSTOMIZE ) build config/crd | kubectl apply -f - --server-side
5050
5151# Uninstall CRDs from a cluster
5252uninstall : manifests kustomize
@@ -55,7 +55,7 @@ uninstall: manifests kustomize
5555# Deploy controller in the configured Kubernetes cluster in ~/.kube/config
5656deploy : manifests kustomize
5757 cd config/manager && $(KUSTOMIZE ) edit set image controller=${IMG}
58- $(KUSTOMIZE ) build config/default | kubectl apply -f -
58+ $(KUSTOMIZE ) build config/default | kubectl apply -f - --server-side
5959
6060# Generate manifests e.g. CRD, RBAC etc.
6161manifests : controller-gen
You can’t perform that action at this time.
0 commit comments