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