14 lines
322 B
YAML
14 lines
322 B
YAML
|
---
|
||
|
tcproute:
|
||
|
templates:
|
||
|
- |
|
||
|
---
|
||
|
{{ range .Values.routes }}
|
||
|
apiVersion: traefik.io/v1alpha1
|
||
|
kind: IngressRouteTCP
|
||
|
metadata:
|
||
|
name: {{ printf "%s-%s" .Release.Name .name }}
|
||
|
spec:
|
||
|
{{ tpl (.routes | toYaml | indent 2 | toString) $ }}
|
||
|
{{ end }}
|