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
|
2024-10-07 21:09:52 +00:00
|
|
|
---
|
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: spoolman-internal
|
|
|
|
labels:
|
|
|
|
name: spoolman-internal
|
|
|
|
spec:
|
|
|
|
rules:
|
|
|
|
- host: spoolman.spoolman.k8s
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- pathType: Prefix
|
|
|
|
path: "/"
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: spoolman
|
|
|
|
port:
|
|
|
|
number: 8080
|