2021-09-03 12:43:21 +00:00
|
|
|
{{/* Define the tlsOptions */}}
|
|
|
|
{{- define "traefik.tlsOptions" -}}
|
|
|
|
{{- range $name, $config := .Values.tlsOptions }}
|
2021-09-04 22:27:30 +00:00
|
|
|
---
|
2021-09-03 12:43:21 +00:00
|
|
|
apiVersion: traefik.containo.us/v1alpha1
|
|
|
|
kind: TLSOption
|
|
|
|
metadata:
|
|
|
|
name: {{ $name }}
|
|
|
|
spec:
|
|
|
|
{{- toYaml $config | nindent 2 }}
|
2021-09-16 20:19:12 +00:00
|
|
|
{{- end }}
|
2021-09-03 12:43:21 +00:00
|
|
|
{{- end -}}
|