oc-k8s/opencloud/charts/traefik/templates/provider-file-cm.yaml

13 lines
341 B
YAML
Raw Normal View History

2024-11-28 11:09:51 +01:00
{{- if .Values.providers.file.enabled -}}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ template "traefik.fullname" . }}-file-provider
namespace: {{ template "traefik.namespace" . }}
labels:
{{- include "traefik.labels" . | nindent 4 }}
data:
config.yml:
{{ toYaml .Values.providers.file.content | nindent 4 }}
{{- end -}}