This repository has been archived on 2024-09-11. You can view files and clone it, but cannot push or open issues or pull requests.
k8s-cluster-config/common/values.tcp-route.yaml

21 lines
455 B
YAML
Raw Normal View History

2024-06-15 10:20:06 +00:00
---
traefik:
templates:
- |
{{ range .Values.tcpRoutes }}
---
apiVersion: traefik.io/v1alpha1
kind: IngressRouteTCP
metadata:
name: {{ .name }}
spec:
entryPoints:
- {{ .entrypoint }}
routes:
- match: {{ .match }}
services:
- name: {{ .service }}
2024-06-22 19:30:28 +00:00
nativeLB: false
2024-06-15 10:20:06 +00:00
port: {{ .port }}
2024-06-22 19:30:28 +00:00
{{- end }}