Skip to content
This repository was archived by the owner on Jan 25, 2019. It is now read-only.

Commit fdf889d

Browse files
committed
build,scripts,pkg/apis: updating to support operator-sdk binary based on controller-runtime
1 parent df2a6a0 commit fdf889d

File tree

6 files changed

+5
-29
lines changed

6 files changed

+5
-29
lines changed

helm-app-operator/tmp/build/Dockerfile renamed to helm-app-operator/build/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ FROM alpine:3.6
33
RUN adduser -D helm-app-operator
44
USER helm-app-operator
55

6-
ADD tmp/_output/bin/helm-app-operator /usr/local/bin/operator
6+
ADD build/_output/bin/helm-app-operator /usr/local/bin/helm-app-operator

helm-app-operator/tmp/build/build.sh renamed to helm-app-operator/build/build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ if ! which go > /dev/null; then
99
exit 1
1010
fi
1111

12-
BIN_DIR="$(pwd)/tmp/_output/bin"
12+
BIN_DIR="$(pwd)/build/_output/bin"
1313
mkdir -p ${BIN_DIR}
14-
PROJECT_NAME="helm-app-operator"
15-
REPO_PATH="github.com/operator-framework/helm-app-operator-kit/helm-app-operator"
16-
BUILD_PATH="${REPO_PATH}/cmd/${PROJECT_NAME}"
14+
PROJECT_NAME=helm-app-operator
15+
REPO_PATH=github.com/operator-framework/helm-app-operator-kit/helm-app-operator
16+
BUILD_PATH="${REPO_PATH}/cmd/manager"
1717
echo "building "${PROJECT_NAME}"..."
1818
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o ${BIN_DIR}/${PROJECT_NAME} $BUILD_PATH

helm-app-operator/scripts/codegen/boilerplate.go.txt

Whitespace-only changes.

helm-app-operator/tmp/build/docker_build.sh

Lines changed: 0 additions & 11 deletions
This file was deleted.

helm-app-operator/tmp/codegen/boilerplate.go.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

helm-app-operator/tmp/codegen/update-generated.sh

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)