Skip to content

Commit

Permalink
upgraded dependencies (primarily Kubernetes to 1.25.2, golang to 1.18…
Browse files Browse the repository at this point in the history
…, alpine to 3.16.2)
  • Loading branch information
rrayst committed Sep 27, 2022
1 parent c78c945 commit 91d842e
Show file tree
Hide file tree
Showing 6 changed files with 661 additions and 571 deletions.
3 changes: 3 additions & 0 deletions ldp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 45 (27.09.2022)
- upgraded dependencies

# 44 (01.10.2021)
- upgraded alpine base image to 3.14.2

Expand Down
4 changes: 2 additions & 2 deletions ldp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.15 AS build
FROM golang:1.18 AS build

ADD go.mod /go/src/github.com/membrane/local-directory-provisioner/ldp/
ADD go.sum /go/src/github.com/membrane/local-directory-provisioner/ldp/
Expand All @@ -23,7 +23,7 @@ ADD . /go/src/github.com/membrane/local-directory-provisioner/ldp
RUN go build -a -ldflags '-extldflags "-static"' -o /go/bin/local-directory-provisioner local-directory-provisioner.go


FROM alpine:3.14.2
FROM alpine:3.16.2

COPY --from=build /go/bin/local-directory-provisioner /usr/local/bin/local-directory-provisioner
CMD ["/usr/local/bin/local-directory-provisioner"]
2 changes: 1 addition & 1 deletion ldp/deploy/non-rbac/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: spec.nodeName
image: hub.predic8.de/p8/local-directory-provisioner:0.0.1
image: predic8/local-directory-provisioner:45
command:
- /usr/local/bin/local-directory-provisioner
- -v=4
Expand Down
2 changes: 1 addition & 1 deletion ldp/deploy/rbac/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: spec.nodeName
image: predic8/local-directory-provisioner:40
image: predic8/local-directory-provisioner:45
command:
- /usr/local/bin/local-directory-provisioner
- -v=4
Expand Down
106 changes: 79 additions & 27 deletions ldp/go.mod
Original file line number Diff line number Diff line change
@@ -1,36 +1,88 @@
module github.com/membrane/local-directory-provisioner/ldp

go 1.15
go 1.18

require (
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
k8s.io/api v0.18.0
k8s.io/apimachinery v0.18.0
k8s.io/client-go v0.18.0
k8s.io/kubernetes v1.18.0 // indirect
github.com/golang/glog v1.0.0
k8s.io/api v0.25.2
k8s.io/apimachinery v0.25.2
k8s.io/client-go v0.25.2
sigs.k8s.io/sig-storage-lib-external-provisioner/v6 v6.0.0
)

require (
github.com/PuerkitoBio/purell v1.1.1 // indirect
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/emicklei/go-restful/v3 v3.8.0 // indirect
github.com/go-logr/logr v1.2.3 // indirect
github.com/go-openapi/jsonpointer v0.19.5 // indirect
github.com/go-openapi/jsonreference v0.19.5 // indirect
github.com/go-openapi/swag v0.19.14 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/gnostic v0.5.7-v3refs // indirect
github.com/google/go-cmp v0.5.8 // indirect
github.com/google/gofuzz v1.1.0 // indirect
github.com/google/uuid v1.1.2 // indirect
github.com/imdario/mergo v0.3.6 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/mailru/easyjson v0.7.6 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/miekg/dns v1.1.29 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/prometheus/client_golang v1.5.1 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/common v0.9.1 // indirect
github.com/prometheus/procfs v0.0.8 // indirect
github.com/spf13/pflag v1.0.5 // indirect
golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd // indirect
golang.org/x/net v0.0.0-20220722155237-a158d28d115b // indirect
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.28.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/klog v1.0.0 // indirect
k8s.io/klog/v2 v2.70.1 // indirect
k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1 // indirect
k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed // indirect
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
sigs.k8s.io/yaml v1.2.0 // indirect
)

replace (
k8s.io/api => k8s.io/api v0.18.0
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.18.0
k8s.io/apimachinery => k8s.io/apimachinery v0.18.2-beta.0
k8s.io/apiserver => k8s.io/apiserver v0.18.0
k8s.io/cli-runtime => k8s.io/cli-runtime v0.18.0
k8s.io/client-go => k8s.io/client-go v0.18.0
k8s.io/cloud-provider => k8s.io/cloud-provider v0.18.0
k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.18.0
k8s.io/code-generator => k8s.io/code-generator v0.18.3-beta.0
k8s.io/component-base => k8s.io/component-base v0.18.0
k8s.io/cri-api => k8s.io/cri-api v0.18.11-rc.0
k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.18.0
k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.18.0
k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.18.0
k8s.io/kube-proxy => k8s.io/kube-proxy v0.18.0
k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.18.0
k8s.io/kubectl => k8s.io/kubectl v0.18.0
k8s.io/kubelet => k8s.io/kubelet v0.18.0
k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.18.0
k8s.io/metrics => k8s.io/metrics v0.18.0
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.18.0
k8s.io/api => k8s.io/api v0.25.2
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.25.2
k8s.io/apimachinery => k8s.io/apimachinery v0.25.2
k8s.io/apiserver => k8s.io/apiserver v0.25.2
k8s.io/cli-runtime => k8s.io/cli-runtime v0.25.2
k8s.io/client-go => k8s.io/client-go v0.25.2
k8s.io/cloud-provider => k8s.io/cloud-provider v0.25.2
k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.25.2
k8s.io/code-generator => k8s.io/code-generator v0.25.2
k8s.io/component-base => k8s.io/component-base v0.25.2
k8s.io/cri-api => k8s.io/cri-api v0.25.2
k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.25.2
k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.25.2
k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.25.2
k8s.io/kube-proxy => k8s.io/kube-proxy v0.25.2
k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.25.2
k8s.io/kubectl => k8s.io/kubectl v0.25.2
k8s.io/kubelet => k8s.io/kubelet v0.25.2
k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.25.2
k8s.io/metrics => k8s.io/metrics v0.25.2
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.25.2
)
Loading

0 comments on commit 91d842e

Please sign in to comment.