feat: Gitea | expose service to public internet without cloudflared

This commit is contained in:
2024-10-01 16:04:52 +05:00
parent 18605f98a1
commit 4a5c9fda34
4 changed files with 30 additions and 11 deletions

View File

@@ -1,17 +1,8 @@
service:
http:
annotations:
external-dns.alpha.kubernetes.io/hostname: git.dogar.dev
metallb.universe.tf/allow-shared-ip: gitea
ssh:
annotations:
external-dns.alpha.kubernetes.io/hostname: git.dogar.dev
metallb.universe.tf/allow-shared-ip: gitea
ingress:
enabled: true
className: nginx-internal
annotations:
cert-manager.io/cluster-issuer: cluster-issuer
cert-manager.io/cluster-issuer: cloudflare-issuer
hosts:
- host: git.dogar.dev
paths:

View File

@@ -11,4 +11,4 @@ controller:
external-dns.alpha.kubernetes.io/hostname: postgres.home
tcp:
5432: "postgres-system/postgres-cluster-rw:5432"
2222: "gitea-system/gitea-ssh:22"
22: "gitea-system/gitea-ssh:22"