9df835dc52
ArgoCD diffs against live state where k8s defaults these fields in: - parentRefs: group=gateway.networking.k8s.io, kind=Gateway - backendRefs: group="", kind=Service, weight=1 Matches the pattern from #153 (certificateRefs).
31 lines
677 B
YAML
31 lines
677 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:
|
|
- group: gateway.networking.k8s.io
|
|
kind: Gateway
|
|
name: puppetdb
|
|
sectionName: https
|
|
rules:
|
|
- backendRefs:
|
|
- group: ""
|
|
kind: Service
|
|
name: puppetdb
|
|
port: 8080
|
|
weight: 1
|
|
matches:
|
|
- path:
|
|
type: PathPrefix
|
|
value: /
|