feat(cilium): Enable gateway

This commit is contained in:
2026-02-10 09:24:43 +01:00
parent c39c188020
commit 8efdf8d4c8
5 changed files with 114 additions and 0 deletions
@@ -0,0 +1,38 @@
---
# HTTP Route for Gitea web interface
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: gitea-http
namespace: gitea
spec:
parentRefs:
- name: shared-gateway
namespace: kube-system
hostnames:
- {{ .Values.gitea.hostname }}
rules:
- matches:
- path:
type: PathPrefix
value: "/"
backendRefs:
- name: gitea-http
port: 3000
---
# TCP Route for Gitea SSH
apiVersion: gateway.networking.k8s.io/v1alpha2
kind: TCPRoute
metadata:
name: gitea-ssh
namespace: gitea
spec:
parentRefs:
- name: shared-gateway
namespace: kube-system
sectionName: ssh
rules:
- backendRefs:
- name: gitea-ssh
port: 22
+1
View File
@@ -30,6 +30,7 @@ spec:
managedNamespaceMetadata:
labels:
component: sys
shared-gateway-access: "true"
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true