Skip to content

Commit

Permalink
chore: Remove cnivpctl
Browse files Browse the repository at this point in the history
  • Loading branch information
fioncat committed Feb 21, 2024
1 parent 9532035 commit 6f68c6e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ all: cnivpc
.PHONY: cnivpc-bin
cnivpc-bin:
CGO_ENABLED=0 GOOS="linux" GOARCH="amd64" go build ${LDFLAGS} -o ./bin/cnivpc ./cmd/cnivpc
CGO_ENABLED=0 GOOS="linux" GOARCH="amd64" go build ${LDFLAGS} -o ./bin/cnivpctl ./cmd/cnivpctl

.PHONY: cnivpc
cnivpc: cnivpc-bin
Expand Down
1 change: 0 additions & 1 deletion dockerfiles/cnivpc/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM alpine:latest

COPY bin/cnivpc /usr/local/bin/
COPY bin/cnivpctl /usr/local/bin/
COPY scripts/cnivpc-docker-entrypoint.sh /entrypoint.sh
COPY config/10-cnivpc.conf /10-cnivpc.conf

Expand Down
4 changes: 0 additions & 4 deletions scripts/cnivpc-docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ if [[ -d /opt/cni ]]; then
# cp -f /10-cnivpc.conf /opt/cni/net.d/10-cnivpc.conf
fi

if [[ -d /host-bin ]]; then
cp -f /usr/local/bin/cnivpctl /host-bin/cnivpctl
fi

while true; do
if [[ ! -f "/var/log/cnivpc.log" ]]; then
echo "waitting for cnivpc logs..."
Expand Down

0 comments on commit 6f68c6e

Please sign in to comment.