fix(gateways): add explicit group/kind/weight to all HTTPRoute refs
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).
This commit is contained in:
@@ -11,7 +11,9 @@ spec:
|
||||
hostnames:
|
||||
- consul.k8s.syd1.au.unkin.net
|
||||
parentRefs:
|
||||
- name: consul
|
||||
- group: gateway.networking.k8s.io
|
||||
kind: Gateway
|
||||
name: consul
|
||||
sectionName: http
|
||||
rules:
|
||||
- filters:
|
||||
@@ -36,12 +38,17 @@ spec:
|
||||
hostnames:
|
||||
- consul.k8s.syd1.au.unkin.net
|
||||
parentRefs:
|
||||
- name: consul
|
||||
- group: gateway.networking.k8s.io
|
||||
kind: Gateway
|
||||
name: consul
|
||||
sectionName: https
|
||||
rules:
|
||||
- backendRefs:
|
||||
- name: consul-ui
|
||||
- group: ""
|
||||
kind: Service
|
||||
name: consul-ui
|
||||
port: 80
|
||||
weight: 1
|
||||
matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
@@ -59,12 +66,17 @@ spec:
|
||||
hostnames:
|
||||
- consul.service.consul
|
||||
parentRefs:
|
||||
- name: consul
|
||||
- group: gateway.networking.k8s.io
|
||||
kind: Gateway
|
||||
name: consul
|
||||
sectionName: consul-svc
|
||||
rules:
|
||||
- backendRefs:
|
||||
- name: consul-ui
|
||||
- group: ""
|
||||
kind: Service
|
||||
name: consul-ui
|
||||
port: 80
|
||||
weight: 1
|
||||
matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
|
||||
Reference in New Issue
Block a user