infra/k8s/spoolman/ingress.yaml

33 lines
582 B
YAML
Raw Normal View History

2024-10-07 02:07:28 +00:00
apiVersion: v1
kind: Service
metadata:
name: spoolman
spec:
selector:
app: spoolman
ports:
- port: 8080
name: http
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: spoolman
labels:
name: spoolman
annotations:
traefik.ingress.kubernetes.io/router.middlewares: kube-system-traefik-forward-auth@kubernetescrd
spec:
rules:
- host: spoolman.k8s.home.finn.io
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: spoolman
port:
number: 8080