mirror of
https://gitlab.com/deepcypher/dc-kc.git
synced 2026-01-27 11:12:08 +00:00
Switching to httproute
Changelog: added Signed-off-by: GeorgeRaven <GeorgeRavenCommunity@pm.me>
This commit is contained in:
@@ -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"` | |
|
||||
|
||||
23
charts/gitea/templates/gateway/gitea-http.yaml
Normal file
23
charts/gitea/templates/gateway/gitea-http.yaml
Normal 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: /
|
||||
@@ -69,7 +69,7 @@ gitea:
|
||||
claimName: gitea-shared-storage
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
enabled: false
|
||||
hosts:
|
||||
- host: "gitea.deepcypher.me"
|
||||
paths:
|
||||
|
||||
Reference in New Issue
Block a user