1f4364b51a
Replace nginx Ingress with Gateway + HTTPRoute using the traefik-internal GatewayClass. TLS is terminated at the Gateway listener via cert-manager.
26 lines
567 B
YAML
26 lines
567 B
YAML
---
|
|
apiVersion: gateway.networking.k8s.io/v1
|
|
kind: HTTPRoute
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/component: puppetboard
|
|
app.kubernetes.io/instance: puppetserver
|
|
app.kubernetes.io/name: puppetserver
|
|
app.kubernetes.io/version: 8.8.0
|
|
name: puppetboard
|
|
namespace: puppet
|
|
spec:
|
|
hostnames:
|
|
- puppetboard.k8s.syd1.au.unkin.net
|
|
parentRefs:
|
|
- name: puppetboard
|
|
sectionName: https
|
|
rules:
|
|
- backendRefs:
|
|
- name: puppetboard
|
|
port: 80
|
|
matches:
|
|
- path:
|
|
type: PathPrefix
|
|
value: /
|