Skip to content

Remote Environment Controller implementation #587

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

Merged
merged 11 commits into from
Sep 13, 2018
Merged
Show file tree
Hide file tree
Changes from 10 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
5 changes: 4 additions & 1 deletion CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,12 @@
# Connector Service Component
/components/connector-service/ @lszymik @akgalwas @janmedrek @Szymongib

# Application Connector Component
# Metadata Service Component
/components/metadata-service/ @lszymik @akgalwas @janmedrek @Szymongib

# Remote Environment Controller Component
/components/remote-environment-controller/ @lszymik @akgalwas @janmedrek @Szymongib

# Gateway Component
/components/gateway/ @lszymik @akgalwas @janmedrek @Szymongib

Expand Down
25 changes: 25 additions & 0 deletions components/remote-environment-controller/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib

./manager

# Output of the go coverage tool, specifically when used with LiteIDE
*.out

# Kubernetes Generated files - skip generated files, except for vendored files

zz_generated.*
!vendor/**/zz_generated.*

# editor and IDE paraphernalia
.idea
*.swp
*.swo
*~

bin
19 changes: 19 additions & 0 deletions components/remote-environment-controller/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM golang:1.10.3 as builder

ARG DOCK_PKG_DIR=/go/src/github.com/kyma-project/kyma/components/remote-environment-controller

RUN mkdir -p $DOCK_PKG_DIR

COPY ./ $DOCK_PKG_DIR
WORKDIR $DOCK_PKG_DIR

RUN CGO_ENABLED=0 GOOS=linux go build -a -o manager ./cmd/manager

FROM alpine

COPY --from=builder /go/src/github.com/kyma-project/kyma/components/remote-environment-controller/manager .

# Copy RE chart
COPY ./charts/remote-environments remote-environments/

CMD ["/manager"]
Loading