37 lines
738 B
YAML
37 lines
738 B
YAML
|
---
|
||
|
apiVersion: traefik.containo.us/v1alpha1
|
||
|
kind: IngressRoute
|
||
|
metadata:
|
||
|
name: zigbee2mqtt-redirect
|
||
|
annotations:
|
||
|
kubernetes.io/ingress.class: traefik
|
||
|
spec:
|
||
|
entryPoints:
|
||
|
- web
|
||
|
routes:
|
||
|
- kind: Rule
|
||
|
match: Host(`zig.service.kube`)
|
||
|
priority: 10
|
||
|
middlewares:
|
||
|
- name: httpredirectscheme
|
||
|
namespace: traefik
|
||
|
services:
|
||
|
- name: zigbee2mqtt
|
||
|
port: 8080
|
||
|
---
|
||
|
# Source: zigbee2mqtt/templates/ingress.yaml
|
||
|
apiVersion: traefik.containo.us/v1alpha1
|
||
|
kind: IngressRoute
|
||
|
metadata:
|
||
|
name: zigbee2mqtt
|
||
|
spec:
|
||
|
entryPoints:
|
||
|
- websecure
|
||
|
routes:
|
||
|
- kind: Rule
|
||
|
match: Host(`zig.service.kube`)
|
||
|
services:
|
||
|
- name: zigbee2mqtt
|
||
|
port: 8080
|
||
|
tls: {}
|