Upgrade to operator sdk 1.29.0

This commit is contained in:
Eddy Filip
2023-06-15 20:25:51 +02:00
parent e4b945ed56
commit aaddfd0c79
3 changed files with 5 additions and 5 deletions

View File

@@ -5,7 +5,7 @@ export MAIN_BRANCH ?= main
# To re-generate a bundle for another specific version without changing the standard setup, you can: # To re-generate a bundle for another specific version without changing the standard setup, you can:
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2) # - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2) # - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
VERSION ?= 1.5.0 VERSION ?= 1.6.0
# CHANNELS define the bundle channels used in the bundle. # CHANNELS define the bundle channels used in the bundle.
# Add a new line here if you would like to change its default config. (E.g CHANNELS = "candidate,fast,stable") # Add a new line here if you would like to change its default config. (E.g CHANNELS = "candidate,fast,stable")
@@ -51,7 +51,7 @@ endif
# Image URL to use all building/pushing image targets # Image URL to use all building/pushing image targets
IMG ?= 1password/onepassword-operator:latest IMG ?= 1password/onepassword-operator:latest
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary. # ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
ENVTEST_K8S_VERSION = 1.24.2 ENVTEST_K8S_VERSION = 1.26
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set) # Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
ifeq (,$(shell go env GOBIN)) ifeq (,$(shell go env GOBIN))
@@ -110,7 +110,7 @@ test: manifests generate fmt vet envtest ## Run tests.
##@ Build ##@ Build
.PHONY: build .PHONY: build
build: generate fmt vet ## Build manager binary. build: manifests generate fmt vet ## Build manager binary.
go build -o bin/manager main.go go build -o bin/manager main.go
.PHONY: run .PHONY: run

View File

@@ -17,7 +17,7 @@ spec:
capabilities: capabilities:
drop: drop:
- "ALL" - "ALL"
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.13.0 image: gcr.io/kubebuilder/kube-rbac-proxy:v0.13.1
args: args:
- "--secure-listen-address=0.0.0.0:8443" - "--secure-listen-address=0.0.0.0:8443"
- "--upstream=http://127.0.0.1:8080/" - "--upstream=http://127.0.0.1:8080/"

View File

@@ -2,5 +2,5 @@ package version
var ( var (
OperatorVersion = "1.6.0" OperatorVersion = "1.6.0"
OperatorSDKVersion = "1.25.0" OperatorSDKVersion = "1.29.0"
) )