21 lines
454 B
YAML
21 lines
454 B
YAML
---
|
|
traefik:
|
|
templates:
|
|
- |
|
|
{{ range .Values.tcpRoutes }}
|
|
---
|
|
apiVersion: traefik.io/v1alpha1
|
|
kind: IngressRouteTCP
|
|
metadata:
|
|
name: {{ .name }}
|
|
spec:
|
|
entryPoints:
|
|
- {{ .entrypoint }}
|
|
routes:
|
|
- match: {{ .match }}
|
|
services:
|
|
- name: {{ .service }}
|
|
nativeLB: true
|
|
port: {{ .port }}
|
|
{{- end }}
|