Skip to content

Commit 08772e2

Browse files
authored
Remote Environment Controller initial implementation (#587)
1 parent ccf5a41 commit 08772e2

30 files changed

+2324
-1
lines changed

CODEOWNERS

+4-1
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,12 @@
152152
# Connector Service Component
153153
/components/connector-service/ @lszymik @akgalwas @janmedrek @Szymongib
154154

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

158+
# Remote Environment Controller Component
159+
/components/remote-environment-controller/ @lszymik @akgalwas @janmedrek @Szymongib
160+
158161
# Gateway Component
159162
/components/gateway/ @lszymik @akgalwas @janmedrek @Szymongib
160163

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
# Binaries for programs and plugins
3+
*.exe
4+
*.exe~
5+
*.dll
6+
*.so
7+
*.dylib
8+
9+
./manager
10+
11+
# Output of the go coverage tool, specifically when used with LiteIDE
12+
*.out
13+
14+
# Kubernetes Generated files - skip generated files, except for vendored files
15+
16+
zz_generated.*
17+
!vendor/**/zz_generated.*
18+
19+
# editor and IDE paraphernalia
20+
.idea
21+
*.swp
22+
*.swo
23+
*~
24+
25+
bin
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
FROM golang:1.10.3 as builder
2+
3+
ARG DOCK_PKG_DIR=/go/src/github.com/kyma-project/kyma/components/remote-environment-controller
4+
5+
RUN mkdir -p $DOCK_PKG_DIR
6+
7+
COPY ./ $DOCK_PKG_DIR
8+
WORKDIR $DOCK_PKG_DIR
9+
10+
RUN CGO_ENABLED=0 GOOS=linux go build -a -o manager ./cmd/manager
11+
12+
FROM alpine
13+
14+
COPY --from=builder /go/src/github.com/kyma-project/kyma/components/remote-environment-controller/manager .
15+
16+
# Copy RE chart
17+
COPY ./charts/remote-environments remote-environments/
18+
19+
CMD ["/manager"]

0 commit comments

Comments
 (0)