Skip to content

Commit

Permalink
Merge pull request #16 from everpeace/k8s-1.24
Browse files Browse the repository at this point in the history
upgrade kubernetes 1.24.4 and golang 1.19
  • Loading branch information
everpeace authored Sep 1, 2022
2 parents 6937443 + fc57516 commit 96de297
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 118 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
FROM golang:1.17 as build
ARG GO111MODULE=on
FROM golang:1.19 as build
ARG CGO_ENABLED=0
ARG GOOS=linux
ARG GOARCH=amd64
Expand All @@ -11,7 +10,7 @@ RUN go mod download
COPY . .
RUN go install -ldflags="-s -w"

FROM debian:buster-slim
COPY --from=build /go/bin/k8s-host-device-plugin /bin/k8s-host-device-plugin
FROM gcr.io/distroless/static-debian11
COPY --from=build /go/bin/linux_amd64/k8s-host-device-plugin /bin/k8s-host-device-plugin

CMD ["/bin/k8s-host-device-plugin"]
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,7 @@ support checking device existence [#3](https://github.com/everpeace/k8s-host-dev
### `1.23.5-0.1.0`

- upgrade kubernets 1.23.5 and golang 1.17 [#13](https://github.com/everpeace/k8s-host-device-plugin/pull/13)

### `1.24.4-0.1.0`

- upgrade kubernetes 1.24.4 and golang 1.19 [#16](https://github.com/everpeace/k8s-host-device-plugin/pull/16)
10 changes: 5 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
module github.com/everpeace/k8s-host-device-plugin

go 1.17
go 1.19

require (
github.com/fsnotify/fsnotify v1.4.9
golang.org/x/net v0.0.0-20211209124913-491a49abca63
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd
google.golang.org/grpc v1.40.0
k8s.io/kubelet v0.23.5
k8s.io/kubelet v0.24.4
)

require (
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.2 // indirect
golang.org/x/sys v0.0.0-20210831042530-f4d43177bf5e // indirect
golang.org/x/sys v0.0.0-20220209214540-3681064d5158 // indirect
golang.org/x/text v0.3.7 // indirect
google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2 // indirect
google.golang.org/genproto v0.0.0-20220107163113-42d7afdf6368 // indirect
google.golang.org/protobuf v1.27.1 // indirect
)
Loading

0 comments on commit 96de297

Please sign in to comment.