define tcp ingress for forgejo ssh access

This commit is contained in:
Tobias Brunner 2024-01-30 21:32:48 +01:00
parent f6cc3b6710
commit c586f55c2a
Signed by: tobru
SSH key fingerprint: SHA256:kywVhvCA+MIxL6eBgoQa+BfC/ROJqcfD2bpy1PR6Ebk
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,13 @@
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRouteTCP
metadata:
name: forgejo-ssh
spec:
entryPoints:
- gitssh
routes:
- match: HostSNI(`*`)
services:
- name: forgejo-ssh
port: 22
terminationDelay: -1

View file

@ -2,5 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- configmap.yaml
- ingressroutetcp.yaml
generators:
- secret-generator.yaml