Compare commits

..

No commits in common. "91eee78ec7a9d16e1a2664cb365ea5bff309fe88" and "bdf6335c83afc7feee5916dca2a60a63a4be729e" have entirely different histories.

5 changed files with 5 additions and 22 deletions

View File

@ -1,4 +1,4 @@
FROM golang:1.21 as build
FROM golang:1.20 as build
WORKDIR /app

View File

@ -16,12 +16,9 @@ languageCode = 'en-us'
url = "about"
[params]
user = "hello"
hostname = "namesny.com"
[params.author]
name = "Matúš Námešný"
author = "Matúš Námešný"
user = "hello"
hostname = "namesny.com"
[[params.social]]
key = 0

View File

@ -7,18 +7,6 @@ If you are selfhosting Gitea on a single node Kubernetes cluster and want to ena
<!--more-->
**Update**
As of Gitea Helm Chart v9.0.0, Gitea is not a StatefulSet but a Deployment instead. In order to make this work you have to replace pod pod name `gitea-0` with:
{{< highlight bash >}}
$(kubectl get po -n gitea -l app=gitea -o name --no-headers=true)
{{< / highlight >}}
Command substitution does not work in `AuthorizedKeysCommand` so I suggest creating a separate script along the lines of `/usr/local/bin/gitea-shell`
## Background
I am currently in the process of migrating my selfhosted applications from docker-compose to Kubernetes. One of my most used selfhosted app is Gitea. I use it to host my projects, dotfiles and config files where I don't expect any contributions or I simply want to keep it more private. In my docker-compose setup I used SSH Container Passthrough from [Gitea docs](https://docs.gitea.io/en-us/install-with-docker/#SSH-container-passthrough) but when I moved Gitea to k8s I couldn't find any guides on how to achieve the same thing.

2
go.mod
View File

@ -2,4 +2,4 @@ module git.namesny.com/Mathis/namesny.com
go 1.20
require github.com/LordMathis/hugo-theme-nightfall v0.6.0 // indirect
require github.com/LordMathis/hugo-theme-nightfall v0.5.1 // indirect

2
go.sum
View File

@ -2,5 +2,3 @@ github.com/LordMathis/hugo-theme-nightfall v0.0.0-20230212210243-f116fbf0bdbb h1
github.com/LordMathis/hugo-theme-nightfall v0.0.0-20230212210243-f116fbf0bdbb/go.mod h1:0tCPxAeg5+tWhv17517Q8Lti/TPh0KNyON/uferEU30=
github.com/LordMathis/hugo-theme-nightfall v0.5.1 h1:xeycc74MTnikZ7tv+V8Lhuu9zrqRpVkaNjqw9eQYVNc=
github.com/LordMathis/hugo-theme-nightfall v0.5.1/go.mod h1:0tCPxAeg5+tWhv17517Q8Lti/TPh0KNyON/uferEU30=
github.com/LordMathis/hugo-theme-nightfall v0.6.0 h1:AmJFH2tQ66ZboBJ44RVwtt37Nhi6Qv29k6I/ouPxxRc=
github.com/LordMathis/hugo-theme-nightfall v0.6.0/go.mod h1:0tCPxAeg5+tWhv17517Q8Lti/TPh0KNyON/uferEU30=