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

Merge branch 'ingressroutetcp'

parents 9440d78f 5805a71f
No related branches found
No related tags found
No related merge requests found
Pipeline #7717 passed with stages
in 39 seconds
{{- 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 }}
{{- if .Values.ingressroutetcp }}
{{ include "common.traefik.ingressroutetcp" (dict "Values" .Values.ingressroutetcp "Chart" .Chart "Release" .Release) }}
{{- end }}
...@@ -76,3 +76,13 @@ configmap: ...@@ -76,3 +76,13 @@ configmap:
name: configmap name: configmap
data: data:
example: test example: test
ingressroutetcp: # All options: https://doc.traefik.io/traefik/routing/providers/kubernetes-crd/#kind-ingressroutetcp
name: exampleroute
entryPoints:
- example-entrypoint
routes:
- match: HostSNI(`*`)
services:
- name: example-service
port: 8080
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