fix(traefik): fix rendering error
This commit is contained in:
parent
bf3efe0fe5
commit
c374bf670d
|
@ -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"
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue