fix(traefik): fix rendering error
This commit is contained in:
@@ -23,7 +23,7 @@ sources:
|
|||||||
- https://github.com/traefik/traefik-helm-chart
|
- https://github.com/traefik/traefik-helm-chart
|
||||||
- https://traefik.io/
|
- https://traefik.io/
|
||||||
type: application
|
type: application
|
||||||
version: 22.0.2
|
version: 22.0.3
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/category: network
|
truecharts.org/category: network
|
||||||
truecharts.org/SCALE-support: "true"
|
truecharts.org/SCALE-support: "true"
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
{{- define "traefik.ingressRoute" -}}
|
{{- define "traefik.ingressRoute" -}}
|
||||||
{{ if .Values.ingressRoute.dashboard.enabled }}
|
{{ if .Values.ingressRoute.dashboard.enabled }}
|
||||||
|
|
||||||
{{- $ingressRouteLabels := .Values.ingressRoute.dashboard.labels -}}
|
{{- $ingressRouteLabels := .Values.ingressRoute.dashboard.labels }}
|
||||||
{{- $ingressRouteAnnotations := .Values.ingressRoute.dashboard.annotations -}}
|
{{- $ingressRouteAnnotations := .Values.ingressRoute.dashboard.annotations }}
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: traefik.io/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
@@ -31,4 +31,4 @@ spec:
|
|||||||
- name: api@internal
|
- name: api@internal
|
||||||
kind: TraefikService
|
kind: TraefikService
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- end -}}
|
{{- end }}
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{{/* Define the tlsOptions */}}
|
{{/* Define the tlsOptions */}}
|
||||||
{{- define "traefik.tlsOptions" -}}
|
{{- define "traefik.tlsOptions" -}}
|
||||||
{{- range $name, $config := .Values.tlsOptions }}
|
{{- range $name, $config := .Values.tlsOptions }}
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: traefik.io/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: TLSOption
|
kind: TLSOption
|
||||||
@@ -9,4 +10,4 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
{{- toYaml $config | nindent 2 }}
|
{{- toYaml $config | nindent 2 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end -}}
|
{{- end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user