Skip to content

Commit 9092c22

Browse files
authored
chore: updates and fixes (#47)
1 parent b4d3758 commit 9092c22

7 files changed

Lines changed: 382 additions & 1030 deletions

File tree

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ jobs:
66
steps:
77
- uses: actions/setup-go@v3
88
with:
9-
go-version: 1.18.x
9+
go-version: 1.25.x
1010
- uses: actions/checkout@v3
1111
- run: go test ./...

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM --platform=linux/amd64 golang:1.20.1-alpine3.17 AS build
1+
FROM --platform=linux/amd64 golang:1.25.7-alpine3.22 AS build
22
WORKDIR /src
33
ENV CGO_ENABLED=0
44
COPY . .
55
ARG TARGETOS
66
ARG TARGETARCH
77
RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -o /out/taweret .
88

9-
FROM alpine:3.17.2 AS bin
9+
FROM alpine:3.22 AS bin
1010
COPY --from=build /out/taweret /usr/local/bin/
1111

1212
EXPOSE 2112/tcp

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Backup `CronJob`s can be configured in Kubernetes following the example backup `
7373
value: default-profile
7474
args:
7575
- |
76-
curl -L https://github.com/kanisterio/kanister/releases/download/0.78.0/kanister_0.78.0_linux_amd64.tar.gz | tar xvz -C /usr/local/bin/
76+
curl -L https://github.com/kanisterio/kanister/releases/download/0.118.0/kanister_0.118.0_linux_amd64.tar.gz | tar xvz -C /usr/local/bin/
7777
kanctl -n kanister create actionset --action backup --namespace kanister --blueprint $BLUEPRINT --statefulset $STATEFULSET --profile $PROFILE --options backup-schedule=weekly
7878
serviceAccountName: kanister-sa
7979
restartPolicy: Never

go.mod

Lines changed: 48 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,74 @@
11
module github.com/swissdatasciencecenter/taweret
22

3-
go 1.18
3+
go 1.25
44

55
require (
66
github.com/go-co-op/gocron v1.13.0
7-
github.com/kanisterio/kanister v0.0.0-20230301071008-afe5fb3d3834
8-
github.com/prometheus/client_golang v1.14.0
7+
github.com/kanisterio/kanister v0.0.0-20260203183031-19086171e802
8+
github.com/prometheus/client_golang v1.23.2
99
gopkg.in/yaml.v2 v2.4.0
10-
k8s.io/apimachinery v0.24.4
11-
k8s.io/client-go v0.24.4
10+
k8s.io/apimachinery v0.31.14
11+
k8s.io/client-go v0.31.14
1212
)
1313

1414
require (
1515
github.com/Masterminds/semver v1.5.0 // indirect
16-
github.com/PuerkitoBio/purell v1.1.1 // indirect
17-
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
1816
github.com/beorn7/perks v1.0.1 // indirect
19-
github.com/cespare/xxhash/v2 v2.2.0 // indirect
20-
github.com/davecgh/go-spew v1.1.1 // indirect
21-
github.com/emicklei/go-restful v2.16.0+incompatible // indirect
22-
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
23-
github.com/go-logr/logr v1.2.0 // indirect
24-
github.com/go-openapi/jsonpointer v0.19.5 // indirect
25-
github.com/go-openapi/jsonreference v0.19.5 // indirect
26-
github.com/go-openapi/swag v0.19.14 // indirect
17+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
18+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
19+
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
20+
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
21+
github.com/go-logr/logr v1.4.3 // indirect
22+
github.com/go-openapi/jsonpointer v0.19.6 // indirect
23+
github.com/go-openapi/jsonreference v0.20.2 // indirect
24+
github.com/go-openapi/swag v0.22.4 // indirect
2725
github.com/gogo/protobuf v1.3.2 // indirect
28-
github.com/golang/protobuf v1.5.2 // indirect
29-
github.com/google/gnostic v0.5.7-v3refs // indirect
30-
github.com/google/go-cmp v0.5.9 // indirect
26+
github.com/golang/protobuf v1.5.4 // indirect
27+
github.com/google/gnostic-models v0.6.8 // indirect
28+
github.com/google/go-cmp v0.7.0 // indirect
3129
github.com/google/gofuzz v1.2.0 // indirect
30+
github.com/google/uuid v1.6.0 // indirect
3231
github.com/josharian/intern v1.0.0 // indirect
3332
github.com/json-iterator/go v1.1.12 // indirect
34-
github.com/kr/pretty v0.3.0 // indirect
33+
github.com/kanisterio/errkit v0.0.3 // indirect
34+
github.com/kr/pretty v0.3.1 // indirect
3535
github.com/kr/text v0.2.0 // indirect
3636
github.com/mailru/easyjson v0.7.7 // indirect
37-
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
3837
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
3938
github.com/modern-go/reflect2 v1.0.2 // indirect
4039
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
4140
github.com/pkg/errors v0.9.1 // indirect
42-
github.com/prometheus/client_model v0.3.0 // indirect
43-
github.com/prometheus/common v0.37.0 // indirect
44-
github.com/prometheus/procfs v0.8.0 // indirect
41+
github.com/prometheus/client_model v0.6.2 // indirect
42+
github.com/prometheus/common v0.66.1 // indirect
43+
github.com/prometheus/procfs v0.17.0 // indirect
4544
github.com/robfig/cron/v3 v3.0.1 // indirect
46-
github.com/rogpeppe/go-internal v1.6.1 // indirect
47-
golang.org/x/net v0.7.0 // indirect
48-
golang.org/x/oauth2 v0.5.0 // indirect
49-
golang.org/x/sync v0.1.0 // indirect
50-
golang.org/x/sys v0.5.0 // indirect
51-
golang.org/x/term v0.5.0 // indirect
52-
golang.org/x/text v0.7.0 // indirect
53-
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect
54-
google.golang.org/appengine v1.6.7 // indirect
55-
google.golang.org/protobuf v1.28.1 // indirect
45+
github.com/rogpeppe/go-internal v1.12.0 // indirect
46+
github.com/spf13/pflag v1.0.9 // indirect
47+
github.com/x448/float16 v0.8.4 // indirect
48+
go.yaml.in/yaml/v2 v2.4.2 // indirect
49+
golang.org/x/mod v0.29.0 // indirect
50+
golang.org/x/net v0.47.0 // indirect
51+
golang.org/x/oauth2 v0.33.0 // indirect
52+
golang.org/x/sync v0.18.0 // indirect
53+
golang.org/x/sys v0.38.0 // indirect
54+
golang.org/x/term v0.37.0 // indirect
55+
golang.org/x/text v0.31.0 // indirect
56+
golang.org/x/time v0.14.0 // indirect
57+
golang.org/x/tools v0.38.0 // indirect
58+
golang.org/x/tools/go/packages/packagestest v0.1.1-deprecated // indirect
59+
google.golang.org/protobuf v1.36.10 // indirect
5660
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
61+
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
5762
gopkg.in/inf.v0 v0.9.1 // indirect
5863
gopkg.in/yaml.v3 v3.0.1 // indirect
59-
k8s.io/api v0.24.4 // indirect
60-
k8s.io/apiextensions-apiserver v0.24.4 // indirect
61-
k8s.io/klog/v2 v2.60.1 // indirect
62-
k8s.io/kube-openapi v0.0.0-20220328201542-3ee0da9b0b42 // indirect
63-
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 // indirect
64-
sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 // indirect
65-
sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect
66-
sigs.k8s.io/yaml v1.3.0 // indirect
64+
k8s.io/api v0.31.14 // indirect
65+
k8s.io/apiextensions-apiserver v0.31.14 // indirect
66+
k8s.io/code-generator v0.31.14 // indirect
67+
k8s.io/gengo/v2 v2.0.0-20240228010128-51d4e06bde70 // indirect
68+
k8s.io/klog/v2 v2.130.1 // indirect
69+
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 // indirect
70+
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 // indirect
71+
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
72+
sigs.k8s.io/structured-merge-diff/v4 v4.4.3 // indirect
73+
sigs.k8s.io/yaml v1.4.0 // indirect
6774
)

0 commit comments

Comments
 (0)