From ec1792c2f63ad1827f9c437a07eb63de8f8be902 Mon Sep 17 00:00:00 2001 From: LordMathis Date: Sat, 25 Nov 2023 20:46:08 +0100 Subject: [PATCH] Rename container passthrough file --- content/blog/{gitea.md => gitea_ssh_passthrough.md} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename content/blog/{gitea.md => gitea_ssh_passthrough.md} (96%) diff --git a/content/blog/gitea.md b/content/blog/gitea_ssh_passthrough.md similarity index 96% rename from content/blog/gitea.md rename to content/blog/gitea_ssh_passthrough.md index 5542566..e643753 100644 --- a/content/blog/gitea.md +++ b/content/blog/gitea_ssh_passthrough.md @@ -1,5 +1,5 @@ --- -title: "Replicating Gitea Docker SSH Passthrough on K8s" +title: "Replicating Gitea Docker SSH Passthrough on K3s" date: "2023-02-12" --- @@ -21,7 +21,7 @@ Command substitution does not work in `AuthorizedKeysCommand` so I suggest creat ## 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. +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 k3s I couldn't find any guides on how to achieve the same thing. I installed Gitea using the official [Helm Chart](https://gitea.com/gitea/helm-chart/). The documentation says this about enabling SSH: