mirror of
https://github.com/shadoll/helm-charts.git
synced 2026-08-28 11:33:17 +00:00
31 lines
812 B
YAML
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 }}
|