Files

31 lines
812 B
YAML

# Ingress is not applicable for broadlinkac2mqtt (MQTT-only application)
# This template is included for Helm chart consistency only
{{- range $name, $ingress := .Values.ingresses }}
# ---
# apiVersion: traefik.io/v1alpha1
# kind: IngressRoute
# metadata:
# name: {{ $.Release.Name }}-{{ $name }}
# labels:
# app.kubernetes.io/name: {{ $.Chart.Name }}
# app.kubernetes.io/instance: {{ $.Release.Name }}
# {{- with $ingress.annotations }}
# annotations:
# {{- toYaml . | nindent 4 }}
# {{- end }}
# spec:
# entryPoints:
# - websecure
# routes:
# - kind: Rule
# match: Host(`{{ $ingress.host }}`)
# services:
# - name: {{ $.Release.Name }}
# port: 80
# {{- with $ingress.tls }}
# tls:
# {{- toYaml . | nindent 4 }}
# {{- end }}
{{- end }}