You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
operator controller and rework kustomize to support bindata
Dockerfile is updated to include new 'operator' binary
and bindata directory. Bindata will contain
all the CRDs, RBAC, and deployment files needed
to deploy all the operators.
Add Makefile targets for bindata, and run-operator.
Forklift bindata impl from old CNOSP compute_node_operator.
Implement new controllers/operator/openstack_controller.go
which process files in /bindata.
Calling 'make bindata' during a Renovate sync should keep
things in sync.
Jira: OSPRH-11244
Copy file name to clipboardExpand all lines: Dockerfile
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -26,8 +26,10 @@ RUN if [ ! -f $CACHITO_ENV_FILE ]; then go mod download ; fi
26
26
27
27
# Build manager
28
28
RUN if [ -f $CACHITO_ENV_FILE ] ; then source $CACHITO_ENV_FILE ; fi ; env ${GO_BUILD_EXTRA_ENV_ARGS} go build ${GO_BUILD_EXTRA_ARGS} -a -o ${DEST_ROOT}/manager main.go
29
+
RUN if [ -f $CACHITO_ENV_FILE ] ; then source $CACHITO_ENV_FILE ; fi ; env ${GO_BUILD_EXTRA_ENV_ARGS} go build ${GO_BUILD_EXTRA_ARGS} -a -o ${DEST_ROOT}/operator cmd/operator/main.go
29
30
30
31
RUN cp -r config/services ${DEST_ROOT}/services
32
+
RUN cp -r bindata ${DEST_ROOT}/bindata
31
33
32
34
# Use distroless as minimal base image to package the manager binary
33
35
# Refer to https://github.com/GoogleContainerTools/distroless for more details
0 commit comments