Skip to content

Commit db103cf

Browse files
bump to osdk 1.15 (#79)
* bump to osdk 1.15 Signed-off-by: raffaelespazzoli <[email protected]> * restored value Signed-off-by: raffaelespazzoli <[email protected]>
1 parent 410a587 commit db103cf

File tree

5 files changed

+167
-187
lines changed

5 files changed

+167
-187
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ BUNDLE_IMG ?= $(IMAGE_TAG_BASE)-bundle:v$(VERSION)
3737

3838
# Image URL to use all building/pushing image targets
3939
IMG ?= controller:latest
40-
# Produce CRDs that work back to Kubernetes 1.11 (no version conversion)
41-
CRD_OPTIONS ?= "crd:trivialVersions=true,preserveUnknownFields=false"
40+
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
41+
ENVTEST_K8S_VERSION = 1.22
4242

4343
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
4444
ifeq (,$(shell go env GOBIN))
@@ -77,7 +77,7 @@ help: ## Display this help.
7777
##@ Development
7878

7979
manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
80-
$(CONTROLLER_GEN) $(CRD_OPTIONS) rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases
80+
$(CONTROLLER_GEN) rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config=config/crd/bases
8181

8282
generate: controller-gen ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
8383
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./..."

config/rbac/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
resources:
2-
- service_account.yaml
32
- role.yaml
43
- role_binding.yaml
54
- leader_election_role.yaml

config/rbac/service_account.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

go.mod

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@ module github.com/redhat-cop/operator-utils
33
go 1.16
44

55
require (
6-
github.com/BurntSushi/toml v0.3.1
6+
github.com/BurntSushi/toml v0.4.1
77
github.com/Masterminds/sprig/v3 v3.2.2
8-
github.com/evanphx/json-patch v4.11.0+incompatible
8+
github.com/evanphx/json-patch v5.6.0+incompatible
99
github.com/fatih/set v0.2.1
1010
github.com/go-logr/logr v0.4.0
1111
github.com/hashicorp/go-multierror v1.1.1
12-
github.com/onsi/ginkgo v1.16.4
13-
github.com/onsi/gomega v1.13.0
12+
github.com/onsi/ginkgo v1.16.5
13+
github.com/onsi/gomega v1.17.0
1414
github.com/pkg/errors v0.9.1
1515
github.com/scylladb/go-set v1.0.2
16-
k8s.io/api v0.21.2
17-
k8s.io/apimachinery v0.21.2
18-
k8s.io/client-go v0.21.2
19-
k8s.io/kubectl v0.21.2
20-
sigs.k8s.io/controller-runtime v0.9.2
21-
sigs.k8s.io/yaml v1.2.0
16+
k8s.io/api v0.22.1
17+
k8s.io/apimachinery v0.22.1
18+
k8s.io/client-go v0.22.1
19+
k8s.io/kubectl v0.22.1
20+
sigs.k8s.io/controller-runtime v0.10.0
21+
sigs.k8s.io/yaml v1.3.0
2222

2323
)

0 commit comments

Comments
 (0)