feat: publish Tier-0 Forgejo GitOps repository

This commit is contained in:
v 2026-09-28 16:47:28 +03:00
parent 027717c039
commit 48e305a933
3 changed files with 53 additions and 0 deletions

View file

@ -0,0 +1,48 @@
apiVersion: v1
kind: Service
metadata:
name: forgejo-git
namespace: infra
spec:
ports:
- name: http
port: 3000
targetPort: 3000
---
apiVersion: v1
kind: Endpoints
metadata:
name: forgejo-git
namespace: infra
subsets:
- addresses:
- ip: 10.0.10.13
ports:
- name: http
port: 3000
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: forgejo-git
namespace: infra
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
ingressClassName: traefik
tls:
- hosts:
- git.svo88.space
secretName: git-svo88-tls
rules:
- host: git.svo88.space
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: forgejo-git
port:
number: 3000

View file

@ -17,3 +17,4 @@ resources:
- infra/netbox/deployment.yaml
- tools/finance-search/apps.yaml
- infra/tier0/zot.yaml
- infra/tier0/forgejo.yaml

View file

@ -13,6 +13,10 @@ machine:
overridePath: true
endpoints:
- http://10.0.10.15:5000/v2/k8s.io
quay.io:
overridePath: true
endpoints:
- http://10.0.10.15:5000/v2/quay.io
---
apiVersion: v1alpha1
kind: ResolverConfig