16 lines
400 B
YAML
16 lines
400 B
YAML
{{- if .Values.traefik.enabled }}
|
|
{{- $host := .Values.ingress.host | default (printf "git.%s" .Values.commons.ingress.domain) }}
|
|
---
|
|
apiVersion: traefik.io/v1alpha1
|
|
kind: IngressRouteTCP
|
|
metadata:
|
|
name: {{ .Release.Name }}-forgejo
|
|
spec:
|
|
entryPoints:
|
|
- ssh
|
|
routes:
|
|
- match: "HostSNI(`*`)"
|
|
services:
|
|
- name: {{ .Release.Name }}-forgejo-hr-ssh
|
|
port: 22
|
|
{{- end }}
|