Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.
This repository is currently being migrated. It's locked while the migration is in progress.

Use OSDK CLI v0.18.2 and generate v1beta1 CRDs #269

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
OPERATOR_IMAGE ?= storageos/cluster-operator:test
GO_BUILD_CMD = go build -v
GO_ENV = GOOS=linux CGO_ENABLED=0
SDK_VERSION = v0.17.2
SDK_VERSION = v0.18.2
MACHINE = $(shell uname -m)
BUILD_IMAGE = golang:1.14.2
BASE_IMAGE = storageos/base-image:0.2.1
Expand Down Expand Up @@ -81,7 +81,7 @@ k8s-code-gen:
go-gen: operator-sdk k8s-code-gen
# generate k8s requires GOROOT to be set.
GOROOT=$(GOPATH) GO111MODULE=on $(OPERATOR_SDK) generate k8s
GO111MODULE=on $(OPERATOR_SDK) generate crds
GO111MODULE=on $(OPERATOR_SDK) generate crds --crd-version=v1beta1
# TODO: Install kube-openapi and generate OpenAPI. Operator-sdk no
# longer provides subcommand to generate OpenAPI. Install
# k8s.io/kube-openapi
Expand Down