Switching to httproute

Changelog: added
Signed-off-by: GeorgeRaven <GeorgeRavenCommunity@pm.me>
This commit is contained in:
GeorgeRaven
2026-01-16 16:09:20 +00:00
parent 89f1265bb0
commit bcfc6d5218
3 changed files with 25 additions and 2 deletions

View File

@@ -66,7 +66,7 @@ A Helm chart for Kubernetes
| gitea.gitea.oauth[0].provider | string | `"openidConnect"` | |
| gitea.ingress.annotations."cert-manager.io/cluster-issuer" | string | `"letsencrypt"` | |
| gitea.ingress.annotations."traefik.ingress.kubernetes.io/router.middlewares" | string | `"traefik-headers@kubernetescrd"` | |
| gitea.ingress.enabled | bool | `true` | |
| gitea.ingress.enabled | bool | `false` | |
| gitea.ingress.hosts[0].host | string | `"gitea.deepcypher.me"` | |
| gitea.ingress.hosts[0].paths[0].path | string | `"/"` | |
| gitea.ingress.hosts[0].paths[0].pathType | string | `"Prefix"` | |

View File

@@ -0,0 +1,23 @@
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: gitea
spec:
hostnames:
- gitea.deepcypher.me
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: envoy
namespace: envoy-gateway
rules:
- backendRefs:
- group: ""
kind: Service
name: gitea-http
port: 3000
weight: 1
matches:
- path:
type: PathPrefix
value: /

View File

@@ -69,7 +69,7 @@ gitea:
claimName: gitea-shared-storage
ingress:
enabled: true
enabled: false
hosts:
- host: "gitea.deepcypher.me"
paths: