Skip to content
Snippets Groups Projects
Commit 6f6fe610 authored by Andri Joos's avatar Andri Joos :blush:
Browse files

add traefik IngressRouteTCP template

parent 9440d78f
No related branches found
No related tags found
No related merge requests found
{{- define "common.traefik.ingressroutetcp" -}}
apiVersion: {{ .Values.apiVersion | default "traefik.io/v1alpha1" }}
kind: IngressRouteTCP
metadata:
name: {{ .Values.name | default "ingress-route-tcp" | quote }}
{{- with .Values.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{- include "common.variables.labels" . | nindent 4 }}
spec:
{{- with .Values.entryPoints }}
entryPoints:
{{- toYaml . | nindent 4}}
{{- end }}
{{- with .Values.routes }}
routes:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.tls }}
tls:
{{ toYaml . | nindent 4 }}
{{- end }}
---
{{- end }}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment