Merge pull request 'feat: expose Gitea externally at git.georgepet.duckdns.org' (#235) from feature/gitea-external into main

This commit is contained in:
claude 2026-02-24 20:10:04 +01:00
commit b806355a61
3 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1,25 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: gitea-external
namespace: prod
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
nginx.ingress.kubernetes.io/proxy-body-size: "50m"
spec:
ingressClassName: nginx
tls:
- hosts:
- git.georgepet.duckdns.org
secretName: gitea-external-tls
rules:
- host: git.georgepet.duckdns.org
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: gitea-external
port:
number: 3000

View File

@ -0,0 +1,21 @@
apiVersion: v1
kind: Service
metadata:
name: gitea-external
namespace: prod
spec:
ports:
- port: 3000
targetPort: 3000
protocol: TCP
---
apiVersion: v1
kind: Endpoints
metadata:
name: gitea-external
namespace: prod
subsets:
- addresses:
- ip: 10.10.10.1
ports:
- port: 3000

View File

@ -0,0 +1,20 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: gitea-external
namespace: argocd
labels:
app.kubernetes.io/part-of: infrastructure
spec:
project: default
source:
repoURL: http://10.10.10.1:3000/claude/k8s-apps.git
targetRevision: main
path: apps/gitea-external
destination:
server: https://kubernetes.default.svc
namespace: prod
syncPolicy:
automated:
prune: true
selfHeal: true