Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Missing GLIBC dynamic dependency makes ovs binary unavailable #3752

Merged
merged 1 commit into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading