diff --git a/Makefile b/Makefile index 3fac268c..07322c37 100644 --- a/Makefile +++ b/Makefile @@ -16,12 +16,7 @@ PWD := $(shell pwd) LOCAL_BIN ?= $(PWD)/bin -# Keep an existing GOPATH, make a private one if it is undefined -GOPATH_DEFAULT := $(PWD)/.go -export GOPATH ?= $(GOPATH_DEFAULT) -GOBIN_DEFAULT := $(GOPATH)/bin -export GOBIN ?= $(GOBIN_DEFAULT) -export PATH := $(LOCAL_BIN):$(GOBIN):$(PATH) +export PATH := $(LOCAL_BIN):$(PATH) GOARCH = $(shell go env GOARCH) GOOS = $(shell go env GOOS) TESTARGS_DEFAULT := -v diff --git a/build/common/Makefile.common.mk b/build/common/Makefile.common.mk index 1f3d57fc..f50d31e8 100755 --- a/build/common/Makefile.common.mk +++ b/build/common/Makefile.common.mk @@ -3,7 +3,7 @@ ## CLI versions (with links to the latest releases) # https://github.com/kubernetes-sigs/controller-tools/releases/latest -CONTROLLER_GEN_VERSION := v0.6.1 +CONTROLLER_GEN_VERSION := v0.14.0 # https://github.com/kubernetes-sigs/kustomize/releases/latest KUSTOMIZE_VERSION := v5.3.0 # https://github.com/golangci/golangci-lint/releases/latest @@ -11,13 +11,13 @@ GOLANGCI_VERSION := v1.52.2 # https://github.com/mvdan/gofumpt/releases/latest GOFUMPT_VERSION := v0.6.0 # https://github.com/daixiang0/gci/releases/latest -GCI_VERSION := v0.12.1 +GCI_VERSION := v0.12.3 # https://github.com/securego/gosec/releases/latest -GOSEC_VERSION := v2.18.2 +GOSEC_VERSION := v2.19.0 # https://github.com/kubernetes-sigs/kubebuilder/releases/latest -KBVERSION := 3.12.0 +KBVERSION := 3.14.0 # https://github.com/kubernetes/kubernetes/releases/latest -ENVTEST_K8S_VERSION := 1.26.x +ENVTEST_K8S_VERSION := 1.29.x LOCAL_BIN ?= $(error LOCAL_BIN is not set.) ifneq ($(findstring $(LOCAL_BIN), $(PATH)), $(LOCAL_BIN)) diff --git a/deploy/operator.yaml b/deploy/operator.yaml index 69ae877b..cd63f52a 100644 --- a/deploy/operator.yaml +++ b/deploy/operator.yaml @@ -33,7 +33,6 @@ rules: apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: - creationTimestamp: null name: governance-policy-framework-addon rules: - apiGroups: diff --git a/deploy/rbac/role.yaml b/deploy/rbac/role.yaml index 054c6208..26c82ccb 100644 --- a/deploy/rbac/role.yaml +++ b/deploy/rbac/role.yaml @@ -1,9 +1,7 @@ - --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: - creationTimestamp: null name: governance-policy-framework-addon rules: - apiGroups: