Skip to content

Commit

Permalink
Merge pull request #3752 from spidernet-io/fix/ovs-build
Browse files Browse the repository at this point in the history
fix: Missing GLIBC dynamic dependency makes ovs binary unavailable
  • Loading branch information
weizhoublue authored Jul 24, 2024
2 parents d821254 + 7be4399 commit f144e2f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/spiderpool/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ helm install spiderpool spiderpool/spiderpool --wait --namespace kube-system \
| `plugins.image.repository` | the image repository of plugins | `spidernet-io/spiderpool/spiderpool-plugins` |
| `plugins.image.pullPolicy` | the image pullPolicy of plugins | `IfNotPresent` |
| `plugins.image.digest` | the image digest of plugins | `""` |
| `plugins.image.tag` | the image tag of plugins | `f0e6ae94a758cf3a1cd2bc9892e5948f4811d32c` |
| `plugins.image.tag` | the image tag of plugins | `82659d90cae0d6a5169eac2869e47c989932d775` |
| `plugins.image.imagePullSecrets` | the image imagePullSecrets of plugins | `[]` |

### clusterDefaultPool parameters
Expand Down
2 changes: 1 addition & 1 deletion charts/spiderpool/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ plugins:
digest: ""

## @param plugins.image.tag the image tag of plugins
tag: f0e6ae94a758cf3a1cd2bc9892e5948f4811d32c
tag: 82659d90cae0d6a5169eac2869e47c989932d775

## @param plugins.image.imagePullSecrets the image imagePullSecrets of plugins
imagePullSecrets: []
Expand Down
6 changes: 3 additions & 3 deletions images/spiderpool-plugins/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ RUN git checkout ${RDMA_VERSION} && make TARGET_ARCH=${TARGETARCH} \
TARGET_OS=${TARGETOS} build

WORKDIR /src/ovs-cni
RUN mkdir -p build && GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -tags no_openssl -mod vendor -o build/ovs ./cmd/plugin
RUN mkdir -p build && GOOS=${TARGETOS} GOARCH=${TARGETARCH} CGO_ENABLED=0 go build -v -ldflags="-s -w" -tags no_openssl -mod vendor -o build/ovs ./cmd/plugin

WORKDIR /src/ib-sriov-cni
RUN git checkout ${IB_SRIOV_VERSION} && go mod vendor && mkdir -p build && GOOS=${TARGETOS} GOARCH=${TARGETARCH} CGO_ENABLED=0 go build -tags no_openssl -mod vendor -o build/ib-sriov ./cmd/ib-sriov-cni
RUN git checkout ${IB_SRIOV_VERSION} && go mod vendor && mkdir -p build && GOOS=${TARGETOS} GOARCH=${TARGETARCH} CGO_ENABLED=0 go build -v -ldflags="-s -w" -tags no_openssl -mod vendor -o build/ib-sriov ./cmd/ib-sriov-cni

WORKDIR /src/sriov-cni
RUN git checkout ${SRIOV_VERSION} && go mod vendor && mkdir -p build && GOOS=${TARGETOS} GOARCH=${TARGETARCH} CGO_ENABLED=0 go build -tags no_openssl -mod vendor -o build/sriov ./cmd/sriov
RUN git checkout ${SRIOV_VERSION} && go mod vendor && mkdir -p build && GOOS=${TARGETOS} GOARCH=${TARGETARCH} CGO_ENABLED=0 go build -v -ldflags="-s -w" -tags no_openssl -mod vendor -o build/sriov ./cmd/sriov

WORKDIR /src/ipoib-cni
RUN git checkout ${IPOIB_VERSION} && make build && [ -f "build/ipoib" ]
Expand Down

0 comments on commit f144e2f

Please sign in to comment.