-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
So awesome add-ons controller (#592)
* Provide first controller implemenation * Finialize slack reporter implementation * Fixing deploy resources * Fix rbac * Add test coverage for controller * Change the golang builder image version * Change the way who mock are generated * kustomization.yaml was moved outside the /default folder, see kubernetes-sigs/kustomize#700 * Change Gopkg.lock to work with dep 0.5.x * Add fetching commit author * Add more info in README.md * Apply changes after Adam review * Add milv ignore
- Loading branch information
Showing
34 changed files
with
2,512 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
|
||
# Binaries for programs and plugins | ||
*.exe | ||
*.exe~ | ||
*.dll | ||
*.so | ||
*.dylib | ||
bin | ||
|
||
# Test binary, build with `go test -c` | ||
*.test | ||
|
||
# Output of the go coverage tool, specifically when used with LiteIDE | ||
*.out | ||
|
||
# Kubernetes Generated files - skip generated files, except for vendored files | ||
|
||
!vendor/**/zz_generated.* | ||
|
||
# editor and IDE paraphernalia | ||
.idea | ||
*.swp | ||
*.swo | ||
*~ | ||
vendor | ||
|
||
scripts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Build the manager binary | ||
FROM golang:1.11.4-alpine3.8 as builder | ||
|
||
# Copy in the go src | ||
WORKDIR /go/src/github.com/kyma-project/test-infra/development/prow-addons-ctrl-manager | ||
COPY pkg/ pkg/ | ||
COPY cmd/ cmd/ | ||
COPY vendor/ vendor/ | ||
|
||
# Build | ||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager github.com/kyma-project/test-infra/development/prow-addons-ctrl-manager/cmd/manager | ||
|
||
# Copy the controller-manager into a thin image | ||
FROM alpine:3.8 | ||
WORKDIR / | ||
|
||
RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/* | ||
|
||
LABEL [email protected]:kyma-project/test-infra.git | ||
|
||
COPY --from=builder /go/src/github.com/kyma-project/test-infra/development/prow-addons-ctrl-manager/manager . | ||
ENTRYPOINT ["/manager"] |
Oops, something went wrong.