diff --git a/deployments/multus-daemonset-thick.yml b/deployments/multus-daemonset-thick.yml index 1995a970b..03aad4008 100644 --- a/deployments/multus-daemonset-thick.yml +++ b/deployments/multus-daemonset-thick.yml @@ -201,9 +201,11 @@ spec: - name: install-multus-binary image: ghcr.io/k8snetworkplumbingwg/multus-cni:snapshot-thick command: - - "cp" - - "/usr/src/multus-cni/bin/multus-shim" - - "/host/opt/cni/bin/multus-shim" + - "/usr/src/multus-cni/bin/install_multus" + - "-d" + - "/host/opt/cni/bin" + - "-t" + - "thick" resources: requests: cpu: "10m" diff --git a/e2e/templates/multus-daemonset-thick.yml.j2 b/e2e/templates/multus-daemonset-thick.yml.j2 index d839cd9e6..f552d5cae 100644 --- a/e2e/templates/multus-daemonset-thick.yml.j2 +++ b/e2e/templates/multus-daemonset-thick.yml.j2 @@ -170,9 +170,11 @@ spec: - name: install-multus-shim image: localhost:5000/multus:e2e command: - - "cp" - - "/usr/src/multus-cni/bin/multus-shim" - - "/host/opt/cni/bin/multus-shim" + - "/usr/src/multus-cni/bin/install_multus" + - "-d" + - "/host/opt/cni/bin" + - "-t" + - "thick" resources: requests: cpu: "10m" diff --git a/images/Dockerfile.thick b/images/Dockerfile.thick index 4452e37f0..ff5000e8d 100644 --- a/images/Dockerfile.thick +++ b/images/Dockerfile.thick @@ -7,7 +7,7 @@ ADD . /usr/src/multus-cni RUN cd /usr/src/multus-cni && \ ./hack/build-go.sh -FROM debian:stable-slim +FROM gcr.io/distroless/base-debian11:latest LABEL org.opencontainers.image.source https://github.com/k8snetworkplumbingwg/multus-cni COPY --from=build /usr/src/multus-cni/bin /usr/src/multus-cni/bin COPY --from=build /usr/src/multus-cni/LICENSE /usr/src/multus-cni/LICENSE