Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Upgrade operator sdk #174

Merged
merged 34 commits into from
Feb 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
696127b
update to operator sdk v0.14.0
Jan 20, 2020
dbfca53
update to operator sdk v0.14.0
Jan 20, 2020
bcd454a
correct list usage based on v0.11.0 release changes
Jan 20, 2020
cf4ddce
fix crd generation & upgrade operator-sdk to 0.15.0
Jan 24, 2020
17b9dec
workaround for *ast.Expr
Jan 24, 2020
b01913a
IncludeUninitialized field not either supported : https://github.com/…
Jan 24, 2020
308f085
fix-dgoss - Increase timeout for exporter agent
cscetbon Jan 26, 2020
3bf7121
update ci images
Jan 27, 2020
17ae156
update go version
Jan 27, 2020
723b128
info about operator-sdk fork
Jan 27, 2020
c75f15c
update operator-sdk version
Jan 27, 2020
22e1268
remove old crd
Jan 27, 2020
f24bf9f
tolerations - Add tolerations example in documentation
cscetbon Jan 28, 2020
0629515
tolerations - Remove helm init kind for helm3 users
cscetbon Jan 28, 2020
fa2570b
resolve conflict
Jan 29, 2020
2faddb5
Merge pull request #177 from cscetbon/tolerations
fdehay Jan 30, 2020
f59dbb9
Merge pull request #175 from cscetbon/fix-dgoss
fdehay Jan 30, 2020
f95a8d1
generic api exclusion
Jan 30, 2020
d88fc2d
pr correction
Jan 30, 2020
9b91617
update to operator sdk v0.14.0
Jan 20, 2020
0da7eef
update to operator sdk v0.14.0
Jan 20, 2020
e290b3f
correct list usage based on v0.11.0 release changes
Jan 20, 2020
61c89a8
fix crd generation & upgrade operator-sdk to 0.15.0
Jan 24, 2020
8c89fc6
workaround for *ast.Expr
Jan 24, 2020
b17eab5
IncludeUninitialized field not either supported : https://github.com/…
Jan 24, 2020
94d1e73
update ci images
Jan 27, 2020
b088ebe
update go version
Jan 27, 2020
0e2dafc
info about operator-sdk fork
Jan 27, 2020
5199256
update operator-sdk version
Jan 27, 2020
92d3b76
remove old crd
Jan 27, 2020
db2b9d5
generic api exclusion
Jan 30, 2020
98852b2
pr correction
Jan 30, 2020
75f0a14
resolve conflicrts
Jan 31, 2020
c4af17f
resolve conflict
Jan 31, 2020
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
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ orbs:
executors:
operator-build:
docker:
- image: orangeopensource/casskop-build:v0.9.0
- image: orangeopensource/casskop-build:v0.15.0-pr137
cscetbon marked this conversation as resolved.
Show resolved Hide resolved
# Define jobs list
jobs:
# Build job, which build operator docker image (with operator-sdk build)
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,6 @@ cassandra-operator.env
multi-casskop/multi-casskop.env
telepresence.log
build/_output
pkg/apis/db/v1alpha1/zz_generated.deepcopy.go
pkg/apis/db/*/zz_generated.deepcopy.go
multi-casskop/pkg/apis/db/v1alpha1/zz_generated.deepcopy.go
multi-casskop/build/_output
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ GO_LINT_CMD := golint `go list ./... | grep -v /vendor/`
DEV_DIR := docker/circleci
APP_DIR := build/Dockerfile

OPERATOR_SDK_VERSION=v0.9.0
OPERATOR_SDK_VERSION=v0.15.0-pr137
# workdir
WORKDIR := /go/casskop

Expand Down Expand Up @@ -161,14 +161,15 @@ helm-package:
mv cassandra-operator-$(HELM_VERSION).tgz $(HELM_TARGET_DIR)
helm repo index $(HELM_TARGET_DIR)/

#
#@TODO : `opetator-sdk generate openapî` deprecated
.PHONY: generate
generate:
echo "Generate zzz-deepcopy objects"
operator-sdk version
operator-sdk generate k8s
operator-sdk generate openapi

#@TODO : `opetator-sdk generate openapî` deprecated
# Build casskop executable file in local go env
.PHONY: build
build:
Expand All @@ -182,6 +183,7 @@ ifdef PUSHLATEST
docker tag $(REPOSITORY):$(VERSION) $(REPOSITORY):latest
endif

#@TODO : `opetator-sdk generate openapî` deprecated
# Run a shell into the development docker image
docker-build: ## Build the Operator and it's Docker Image
echo "Generate zzz-deepcopy objects"
Expand Down
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ created
> You will need to manually install the crds beforehand
>
> ```console
> kubectl apply -f https://github.com/raw/Orange-OpenSource/casskop/master/deploy/crds/db_v1alpha1_cassandracluster_crd.yaml
> kubectl apply -f https://github.com/raw/Orange-OpenSource/casskop/master/deploy/crds/db.orange.com_cassandraclusters_crd.yaml
> ```

Add the Helm incubator repo if you do not already have it:
Expand Down
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.12 as build
FROM golang:1.13 as build

ENV GO111MODULE=on

Expand Down
Loading