90ddd932fe
## Summary - Replace `Ingress` (nginx) with `Gateway` + `HTTPRoute` using `traefik-internal` GatewayClass - TLS terminated at the Gateway listener; cert-manager provisions the certificate via `vault-issuer` - external-dns annotations moved to the Gateway - `ingress_puppetboard.yaml` is unchanged in this PR (separate PR) ## Test plan - [ ] ArgoCD syncs the puppet app cleanly - [ ] cert-manager issues the `puppetdb-tls` certificate - [ ] external-dns creates the DNS record - [ ] `https://puppetdb.k8s.syd1.au.unkin.net` is reachable Reviewed-on: #131
26 lines
554 B
YAML
26 lines
554 B
YAML
---
|
|
apiVersion: gateway.networking.k8s.io/v1
|
|
kind: HTTPRoute
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/component: puppetdb
|
|
app.kubernetes.io/instance: puppetserver
|
|
app.kubernetes.io/name: puppetserver
|
|
app.kubernetes.io/version: 8.8.0
|
|
name: puppetdb
|
|
namespace: puppet
|
|
spec:
|
|
hostnames:
|
|
- puppetdb.k8s.syd1.au.unkin.net
|
|
parentRefs:
|
|
- name: puppetdb
|
|
sectionName: https
|
|
rules:
|
|
- backendRefs:
|
|
- name: puppetdb
|
|
port: 8080
|
|
matches:
|
|
- path:
|
|
type: PathPrefix
|
|
value: /
|