From f1b183022b4997ef6d21b2ffd48181b7c33afd59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rk=20S=C3=A1gi-Kaz=C3=A1r?= Date: Wed, 5 May 2021 10:35:02 +0200 Subject: [PATCH 1/3] docs: Mention the helm chart in the installation instructions (#475) --- docs/installation.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/installation.md b/docs/installation.md index f1a44a0..a3cce91 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -20,3 +20,20 @@ cd tusd go build -o tusd cmd/tusd/main.go ``` + +## Kubernetes installation + +A Helm chart for installing Tusd on Kubernetes is available [here](https://github.com/sagikazarmark/helm-charts/tree/master/charts/tusd). + +You can install it by running the following commands: + +```bash +helm repo add skm https://charts.sagikazarmark.dev +helm install --generate-name --wait skm/tusd +``` + +Minimum requirements: +- Helm 3+ +- Kubernetes 1.16+ + +Check out the available [values](https://github.com/sagikazarmark/helm-charts/tree/master/charts/tusd#values) for customizing the installation. From d560c4e7535cd21e6c9de5aaef335d2b159d8573 Mon Sep 17 00:00:00 2001 From: Marius Date: Mon, 17 May 2021 00:08:36 +0200 Subject: [PATCH 2/3] ci: Update Docker image to Go 1.13 - The Go version now matches the one used for the GHA CI jobs - The Docker builds failed because a dependency changed and Go 1.12 was not able to use the version from go.sum (see https://hub.docker.com/repository/registry-1.docker.io/tusproject/tusd/builds/913de821-d650-454b-9f05-107862caedf3) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 969f873..17ae862 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.12-alpine AS builder +FROM golang:1.13-alpine AS builder # Copy in the git repo from the build context COPY . /go/src/github.com/tus/tusd/ From b50c2936a1f4094c74df3d8fbd85d30063d04c1c Mon Sep 17 00:00:00 2001 From: Juanjo Rodriguez Date: Mon, 14 Jun 2021 14:16:39 +0200 Subject: [PATCH 3/3] cli: Change timestamp to microseconds precision in log (#489) --- cmd/tusd/cli/log.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/tusd/cli/log.go b/cmd/tusd/cli/log.go index 5475688..254a3b4 100644 --- a/cmd/tusd/cli/log.go +++ b/cmd/tusd/cli/log.go @@ -7,8 +7,8 @@ import ( "github.com/tus/tusd/pkg/handler" ) -var stdout = log.New(os.Stdout, "[tusd] ", log.Ldate|log.Ltime) -var stderr = log.New(os.Stderr, "[tusd] ", log.Ldate|log.Ltime) +var stdout = log.New(os.Stdout, "[tusd] ", log.LstdFlags|log.Lmicroseconds) +var stderr = log.New(os.Stderr, "[tusd] ", log.LstdFlags|log.Lmicroseconds) func logEv(logOutput *log.Logger, eventName string, details ...string) { handler.LogEvent(logOutput, eventName, details...)