Compare commits
2 Commits
bdf6335c83
...
91eee78ec7
Author | SHA1 | Date |
---|---|---|
LordMathis | 91eee78ec7 | |
LordMathis | b76681ab23 |
|
@ -1,4 +1,4 @@
|
|||
FROM golang:1.20 as build
|
||||
FROM golang:1.21 as build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
|
|
@ -16,9 +16,12 @@ languageCode = 'en-us'
|
|||
url = "about"
|
||||
|
||||
[params]
|
||||
author = "Matúš Námešný"
|
||||
user = "hello"
|
||||
hostname = "namesny.com"
|
||||
|
||||
user = "hello"
|
||||
hostname = "namesny.com"
|
||||
|
||||
[params.author]
|
||||
name = "Matúš Námešný"
|
||||
|
||||
[[params.social]]
|
||||
key = 0
|
||||
|
|
|
@ -7,6 +7,18 @@ 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
2
go.mod
|
@ -2,4 +2,4 @@ module git.namesny.com/Mathis/namesny.com
|
|||
|
||||
go 1.20
|
||||
|
||||
require github.com/LordMathis/hugo-theme-nightfall v0.5.1 // indirect
|
||||
require github.com/LordMathis/hugo-theme-nightfall v0.6.0 // indirect
|
||||
|
|
2
go.sum
2
go.sum
|
@ -2,3 +2,5 @@ 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=
|
||||
|
|
Loading…
Reference in New Issue