Skip to content

Commit 9370a03

Browse files
author
Daniél Kerkmann
committed
add traefik support
1 parent 350c962 commit 9370a03

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

livekit-server/templates/ingress.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ metadata:
2626
kubernetes.io/ingress.class: "gce"
2727
{{- end }}
2828
# DO with cert manager
29-
{{- if eq .Values.loadBalancer.type "do" }}
29+
{{- if or (eq .Values.loadBalancer.type "do") (eq .Values.loadBalancer.type "traefik") }}
3030
cert-manager.io/cluster-issuer: {{ .Values.loadBalancer.clusterIssuer }}
3131
{{- end }}
3232
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }}
@@ -37,6 +37,8 @@ apiVersion: extensions/v1beta1
3737
spec:
3838
{{- if eq .Values.loadBalancer.type "do" }}
3939
ingressClassName: nginx
40+
{{- else if eq .Values.loadBalancer.type "traefik" }}
41+
ingressClassName: traefik
4042
{{- end }}
4143
rules:
4244
# In order to work with cert manager on DO, we cannot set us as a default backend

0 commit comments

Comments
 (0)