feat(k8s): standardize IngressRoutes — LE prod certs, prod→local→dev order, Traefik values fix

This commit is contained in:
2026-06-08 12:27:55 +02:00
parent 36922a177c
commit e19660fdf4
21 changed files with 145 additions and 121 deletions
+7 -7
View File
@@ -1,19 +1,19 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: gitea-dev
name: gitea-prod
namespace: gitea
spec:
entryPoints:
- websecure
routes:
- match: Host(`gitea.gigaforust.internal`)
- match: Host(`gitea.forust.xyz`)
kind: Rule
services:
- name: gitea-service
port: 3000
tls:
secretName: local-tls
certResolver: letsencrypt
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
@@ -35,19 +35,19 @@ spec:
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: gitea-prod
name: gitea-dev
namespace: gitea
spec:
entryPoints:
- websecure
routes:
- match: Host(`gitea.forust.xyz`)
- match: Host(`gitea.gigaforust.internal`)
kind: Rule
services:
- name: gitea-service
port: 3000
tls:
{}
secretName: local-tls
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
@@ -64,7 +64,7 @@ spec:
- name: gitea-service
port: 3000
tls:
{}
certResolver: letsencrypt
---
apiVersion: traefik.io/v1alpha1
kind: IngressRouteTCP