TrueChartsCatalogClone/enterprise/traefik/21.1.2/templates/_tlsoptions.tpl

13 lines
265 B
Smarty
Raw Normal View History

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