define tcp ingress for forgejo ssh access
This commit is contained in:
parent
f6cc3b6710
commit
c586f55c2a
13
apps/zurrli/forgejo/ingressroutetcp.yaml
Normal file
13
apps/zurrli/forgejo/ingressroutetcp.yaml
Normal 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
|
|
@ -2,5 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||
kind: Kustomization
|
||||
resources:
|
||||
- configmap.yaml
|
||||
- ingressroutetcp.yaml
|
||||
generators:
|
||||
- secret-generator.yaml
|
||||
|
|
Loading…
Reference in a new issue