fix(traefik): fix rendering error

This commit is contained in:
Kjeld Schouten 2023-11-26 00:10:37 +01:00
parent bf3efe0fe5
commit c374bf670d
3 changed files with 6 additions and 5 deletions

View File

@ -23,7 +23,7 @@ sources:
- https://github.com/traefik/traefik-helm-chart
- https://traefik.io/
type: application
version: 22.0.2
version: 22.0.3
annotations:
truecharts.org/category: network
truecharts.org/SCALE-support: "true"

View File

@ -2,8 +2,8 @@
{{- define "traefik.ingressRoute" -}}
{{ if .Values.ingressRoute.dashboard.enabled }}
{{- $ingressRouteLabels := .Values.ingressRoute.dashboard.labels -}}
{{- $ingressRouteAnnotations := .Values.ingressRoute.dashboard.annotations -}}
{{- $ingressRouteLabels := .Values.ingressRoute.dashboard.labels }}
{{- $ingressRouteAnnotations := .Values.ingressRoute.dashboard.annotations }}
---
apiVersion: traefik.io/v1alpha1
@ -31,4 +31,4 @@ spec:
- name: api@internal
kind: TraefikService
{{ end }}
{{- end -}}
{{- end }}

View File

@ -1,6 +1,7 @@
{{/* Define the tlsOptions */}}
{{- define "traefik.tlsOptions" -}}
{{- range $name, $config := .Values.tlsOptions }}
---
apiVersion: traefik.io/v1alpha1
kind: TLSOption
@ -9,4 +10,4 @@ metadata:
spec:
{{- toYaml $config | nindent 2 }}
{{- end }}
{{- end -}}
{{- end }}