k8s-deployment/values/common/values.tcproute.yaml

14 lines
322 B
YAML
Raw Permalink Normal View History

2024-07-13 20:21:59 +00:00
---
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 }}