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:
name: gitea-web-svc
namespace: projects
annotations:
tailscale.com/expose: "true" # exposes IP directly
spec:
type: NodePort
ports:
@@ -79,7 +81,7 @@ metadata:
name: gitea
namespace: projects
annotations:
cert-manager.io/cluster-issuer: cloudflare-issuer
cert-manager.io/cluster-issuer: cloudflare-issuer # not really working with tailscale
spec:
ingressClassName: tailscale
tls:

View File

@@ -1,5 +1,9 @@
# 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>
@@ -21,3 +25,8 @@ helm upgrade \
--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
iputils
dotnetCorePackages.dotnet_9.sdk
python312
gcc
gnumake
dig
];
home.sessionVariables = {
EDITOR = "vim";
@@ -26,7 +30,7 @@
enable = true;
shellInit = ''
function commit
git add --all
git add --allr
git commit -m "$argv"
git push
end