working on getting gitea working

This commit is contained in:
2025-02-12 22:09:25 -07:00
parent e975a71491
commit fea4da2f4f
4 changed files with 17 additions and 20 deletions

View File

@@ -1,18 +0,0 @@
## Home Kubernetes With K3S
<https://k3s.io/>
## Other Kubernetes Distros
I have tried k0s a few times and consistently got an "agent not available on node" error that stopped me from reading logs from pods.
I have used kubeadm to deploy clusters, while it works, it it pretty manual.

View File

@@ -61,6 +61,8 @@ kind: Service
metadata: metadata:
name: gitea-web-svc name: gitea-web-svc
namespace: projects namespace: projects
annotations:
tailscale.com/expose: "true" # exposes IP directly
spec: spec:
type: NodePort type: NodePort
ports: ports:
@@ -79,7 +81,7 @@ metadata:
name: gitea name: gitea
namespace: projects namespace: projects
annotations: annotations:
cert-manager.io/cluster-issuer: cloudflare-issuer cert-manager.io/cluster-issuer: cloudflare-issuer # not really working with tailscale
spec: spec:
ingressClassName: tailscale ingressClassName: tailscale
tls: tls:

View File

@@ -1,5 +1,9 @@
# sources # sources
> note: k0s never works as well as you think
<https://k3s.io/>
nix instructions: <https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/cluster/k3s/README.md> nix instructions: <https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/cluster/k3s/README.md>
@@ -21,3 +25,8 @@ helm upgrade \
--wait --wait
``` ```
Currently clouflare domains cannot be CNAME'd to tailscale domains:
- <https://github.com/tailscale/tailscale/issues/7650>
- related, different IP addresses: <https://tailscale.com/blog/choose-your-ip#natural-solutions>

View File

@@ -18,6 +18,10 @@
htop htop
iputils iputils
dotnetCorePackages.dotnet_9.sdk dotnetCorePackages.dotnet_9.sdk
python312
gcc
gnumake
dig
]; ];
home.sessionVariables = { home.sessionVariables = {
EDITOR = "vim"; EDITOR = "vim";
@@ -26,7 +30,7 @@
enable = true; enable = true;
shellInit = '' shellInit = ''
function commit function commit
git add --all git add --allr
git commit -m "$argv" git commit -m "$argv"
git push git push
end end