Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Kubebuilder v2 #1723

Merged
merged 85 commits into from
Sep 23, 2019
Merged
Show file tree
Hide file tree
Changes from 84 commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
8b6aa95
Init APM
anyasabo Aug 9, 2019
99c0d6d
Add apm types
anyasabo Aug 9, 2019
a5686c2
Add dep config
anyasabo Aug 9, 2019
1fa81f3
Correct marker
anyasabo Aug 9, 2019
b9611e5
Merge branch 'master' into kubebuilderv2
anyasabo Aug 13, 2019
7a1296b
Update to rc0
anyasabo Aug 16, 2019
2777758
WIP
anyasabo Aug 19, 2019
d3b7e3f
Merge branch 'master' into kubebuilderv2
anyasabo Aug 21, 2019
b5a6e8d
Add initial go mod
anyasabo Aug 21, 2019
e314acb
Rev PROJECT
anyasabo Aug 21, 2019
be9a48d
Move go mod
anyasabo Aug 22, 2019
16bcb3c
Update make generate
anyasabo Aug 22, 2019
e64f9c7
Remove webhook pkg
anyasabo Aug 22, 2019
d7ea8e5
Remove old apm files
anyasabo Aug 22, 2019
1c03fbf
Add new main.go
anyasabo Aug 22, 2019
23c9074
Merge master WIP
anyasabo Aug 23, 2019
541a9ca
rm operators dirs
anyasabo Aug 23, 2019
e96bdc0
WIP
anyasabo Aug 23, 2019
02e2e14
Revert "Remove webhook pkg"
anyasabo Aug 23, 2019
955debe
WIP. Remove webhook. Update generators for apm
anyasabo Aug 23, 2019
2b4c842
WIP
anyasabo Aug 23, 2019
91b0b2d
WIP
anyasabo Aug 23, 2019
2737191
WIP
anyasabo Aug 30, 2019
68daf75
Merge master
anyasabo Aug 30, 2019
06f1978
WIP
anyasabo Aug 31, 2019
56c345e
Fix label selectors
anyasabo Sep 3, 2019
0c15f12
Add labels to test fixture
anyasabo Sep 3, 2019
046fe15
Avoid index out of range errors
anyasabo Sep 3, 2019
e637ce4
Update labels in test fixtures, use test case's kibana in runner
anyasabo Sep 3, 2019
063f0de
Add owner watch test
anyasabo Sep 4, 2019
c3981d7
Inject mapper
anyasabo Sep 4, 2019
29b7ecb
Update to golang 1.13
anyasabo Sep 4, 2019
bcef904
WIP
anyasabo Sep 5, 2019
1690b71
Merge master
anyasabo Sep 5, 2019
fb32b86
Remove deprecated openapi gen marker
anyasabo Sep 5, 2019
98a9ffc
Remove deprecated genclient marker
anyasabo Sep 5, 2019
c71d027
Remove deprecated +k8s:deepcopy-gen:interfaces marker
anyasabo Sep 5, 2019
e5130b1
Rerun make generate
anyasabo Sep 5, 2019
4c7eb9e
WIP go mod tidy
anyasabo Sep 5, 2019
0b304cc
Fix e2e list options
anyasabo Sep 5, 2019
fc3d826
Change to new optional marker
anyasabo Sep 5, 2019
fcf8f7e
Update ES and KB APIs
anyasabo Sep 5, 2019
e7f3bd3
Add new controller registrations
anyasabo Sep 9, 2019
cd669f1
Add scheme to old manager
anyasabo Sep 9, 2019
d2d4be8
WIP
anyasabo Sep 9, 2019
c0abebe
Merge branch 'master' into kubebuilderv2
anyasabo Sep 9, 2019
25a1e25
Update main
anyasabo Sep 10, 2019
c70f14e
Add remaining controllers
anyasabo Sep 11, 2019
cb4cb3a
Merge branch 'master' into kubebuilderv2
anyasabo Sep 11, 2019
3ad5f04
WIP
anyasabo Sep 11, 2019
23d75fb
WIP
anyasabo Sep 12, 2019
dbc4a69
Merge master WIP
anyasabo Sep 12, 2019
c748970
Update dep
anyasabo Sep 12, 2019
ab0234a
Merge master WIP, move associated interfaces back
anyasabo Sep 12, 2019
aa61674
Merge master, upgrade kubebuilder 0.2.1
anyasabo Sep 12, 2019
ef53463
Update list opts
anyasabo Sep 12, 2019
d19ebff
Tidy
anyasabo Sep 16, 2019
84a7998
Merge master
anyasabo Sep 16, 2019
2e788cc
Add sset label selector to test fixtures
anyasabo Sep 16, 2019
0aac643
Add ES to downscale context test fixture
anyasabo Sep 16, 2019
a8f2336
Add gobin to makefile
anyasabo Sep 16, 2019
ccb5a29
Temporarily disable api reference generation
anyasabo Sep 16, 2019
8390503
Todo cleanup
anyasabo Sep 16, 2019
ff438da
Fmt
anyasabo Sep 16, 2019
953d9bb
Rev golangci-lint in CI
anyasabo Sep 16, 2019
7012aeb
Lint
anyasabo Sep 16, 2019
95f00b2
Merge master
anyasabo Sep 16, 2019
4f446e4
Remove controller runtimer controller builder
anyasabo Sep 16, 2019
1e3c6e5
Remove check-fmt from ci
anyasabo Sep 17, 2019
1db04d0
Merge branch 'master' into kubebuilderv2
anyasabo Sep 17, 2019
3c73f0b
Update go.sum
anyasabo Sep 17, 2019
7a19ba1
Ignore test output
anyasabo Sep 17, 2019
0f4176e
Disable local change check in ci
anyasabo Sep 17, 2019
26e05a2
Cleanup todos
anyasabo Sep 18, 2019
6a7e406
Merge branch 'master' into kubebuilderv2
anyasabo Sep 18, 2019
3fecd43
Update dockerfile
anyasabo Sep 18, 2019
062d803
Cleanup
anyasabo Sep 18, 2019
bf4177b
Merge master
anyasabo Sep 19, 2019
d2ed566
Update test selectors
anyasabo Sep 19, 2019
2f1ada2
Address feedback
anyasabo Sep 19, 2019
6f96324
Remove license cast
anyasabo Sep 19, 2019
ca07f3e
Address feedback
anyasabo Sep 20, 2019
1db5c53
Address feedback
anyasabo Sep 20, 2019
93b10eb
Merge master
anyasabo Sep 20, 2019
63cb581
Unexport newReconciler
anyasabo Sep 23, 2019
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
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,9 @@ hack/deployer/config/deployer-config.yml
# ignore CI config files
deployer-config.yml
.env

# ignore test output
integration-tests.json
integration-tests.xml
unit-tests.json
unit-tests.xml
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ linters:
enable-all: true
disable:
- dupl
- funlen
- gochecknoglobals
- gochecknoinits
- interfacer
Expand Down
11 changes: 8 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
# Build the manager binary
FROM golang:1.11 as builder
FROM golang:1.13 as builder

# Copy in the go src
WORKDIR /go/src/github.com/elastic/cloud-on-k8s
COPY go.mod go.mod
COPY go.sum go.sum
# cache deps before building and copying source so that we don't need to re-download as much
# and so that source changes don't invalidate our downloaded layer
RUN go mod download

# Copy the go source
COPY pkg/ pkg/
COPY cmd/ cmd/
COPY vendor/ vendor/

ARG GO_LDFLAGS
ARG GO_TAGS
Expand Down
Loading