fix(gateways): add explicit group/kind/weight to all HTTPRoute refs #162

Merged
unkinben merged 1 commits from benvin/httproutes-explicit-defaults into main 2026-05-24 20:32:37 +10:00
9 changed files with 94 additions and 28 deletions
+10 -3
View File
@@ -8,7 +8,9 @@ spec:
hostnames: hostnames:
- artifactapi.k8s.syd1.au.unkin.net - artifactapi.k8s.syd1.au.unkin.net
parentRefs: parentRefs:
- name: artifactapi - group: gateway.networking.k8s.io
kind: Gateway
name: artifactapi
sectionName: http sectionName: http
rules: rules:
- filters: - filters:
@@ -30,12 +32,17 @@ spec:
hostnames: hostnames:
- artifactapi.k8s.syd1.au.unkin.net - artifactapi.k8s.syd1.au.unkin.net
parentRefs: parentRefs:
- name: artifactapi - group: gateway.networking.k8s.io
kind: Gateway
name: artifactapi
sectionName: https sectionName: https
rules: rules:
- backendRefs: - backendRefs:
- name: artifactapi-api - group: ""
kind: Service
name: artifactapi-api
port: 80 port: 80
weight: 1
matches: matches:
- path: - path:
type: PathPrefix type: PathPrefix
+10 -3
View File
@@ -8,7 +8,9 @@ spec:
hostnames: hostnames:
- rancher.k8s.syd1.au.unkin.net - rancher.k8s.syd1.au.unkin.net
parentRefs: parentRefs:
- name: rancher - group: gateway.networking.k8s.io
kind: Gateway
name: rancher
sectionName: http sectionName: http
rules: rules:
- filters: - filters:
@@ -30,12 +32,17 @@ spec:
hostnames: hostnames:
- rancher.k8s.syd1.au.unkin.net - rancher.k8s.syd1.au.unkin.net
parentRefs: parentRefs:
- name: rancher - group: gateway.networking.k8s.io
kind: Gateway
name: rancher
sectionName: https sectionName: https
rules: rules:
- backendRefs: - backendRefs:
- name: rancher - group: ""
kind: Service
name: rancher
port: 80 port: 80
weight: 1
matches: matches:
- path: - path:
type: PathPrefix type: PathPrefix
+17 -5
View File
@@ -11,7 +11,9 @@ spec:
hostnames: hostnames:
- consul.k8s.syd1.au.unkin.net - consul.k8s.syd1.au.unkin.net
parentRefs: parentRefs:
- name: consul - group: gateway.networking.k8s.io
kind: Gateway
name: consul
sectionName: http sectionName: http
rules: rules:
- filters: - filters:
@@ -36,12 +38,17 @@ spec:
hostnames: hostnames:
- consul.k8s.syd1.au.unkin.net - consul.k8s.syd1.au.unkin.net
parentRefs: parentRefs:
- name: consul - group: gateway.networking.k8s.io
kind: Gateway
name: consul
sectionName: https sectionName: https
rules: rules:
- backendRefs: - backendRefs:
- name: consul-ui - group: ""
kind: Service
name: consul-ui
port: 80 port: 80
weight: 1
matches: matches:
- path: - path:
type: PathPrefix type: PathPrefix
@@ -59,12 +66,17 @@ spec:
hostnames: hostnames:
- consul.service.consul - consul.service.consul
parentRefs: parentRefs:
- name: consul - group: gateway.networking.k8s.io
kind: Gateway
name: consul
sectionName: consul-svc sectionName: consul-svc
rules: rules:
- backendRefs: - backendRefs:
- name: consul-ui - group: ""
kind: Service
name: consul-ui
port: 80 port: 80
weight: 1
matches: matches:
- path: - path:
type: PathPrefix type: PathPrefix
+3 -1
View File
@@ -13,7 +13,9 @@ spec:
- auth.unkin.net - auth.unkin.net
- au.auth.unkin.net - au.auth.unkin.net
parentRefs: parentRefs:
- name: kanidm - group: gateway.networking.k8s.io
kind: Gateway
name: kanidm
sectionName: http sectionName: http
rules: rules:
- filters: - filters:
+10 -3
View File
@@ -8,7 +8,9 @@ spec:
hostnames: hostnames:
- litellm.k8s.syd1.au.unkin.net - litellm.k8s.syd1.au.unkin.net
parentRefs: parentRefs:
- name: litellm - group: gateway.networking.k8s.io
kind: Gateway
name: litellm
sectionName: http sectionName: http
rules: rules:
- filters: - filters:
@@ -30,12 +32,17 @@ spec:
hostnames: hostnames:
- litellm.k8s.syd1.au.unkin.net - litellm.k8s.syd1.au.unkin.net
parentRefs: parentRefs:
- name: litellm - group: gateway.networking.k8s.io
kind: Gateway
name: litellm
sectionName: https sectionName: https
rules: rules:
- backendRefs: - backendRefs:
- name: litellm - group: ""
kind: Service
name: litellm
port: 4000 port: 4000
weight: 1
matches: matches:
- path: - path:
type: PathPrefix type: PathPrefix
+10 -3
View File
@@ -8,7 +8,9 @@ spec:
hostnames: hostnames:
- paperclip.k8s.syd1.au.unkin.net - paperclip.k8s.syd1.au.unkin.net
parentRefs: parentRefs:
- name: paperclip - group: gateway.networking.k8s.io
kind: Gateway
name: paperclip
sectionName: http sectionName: http
rules: rules:
- filters: - filters:
@@ -30,12 +32,17 @@ spec:
hostnames: hostnames:
- paperclip.k8s.syd1.au.unkin.net - paperclip.k8s.syd1.au.unkin.net
parentRefs: parentRefs:
- name: paperclip - group: gateway.networking.k8s.io
kind: Gateway
name: paperclip
sectionName: https sectionName: https
rules: rules:
- backendRefs: - backendRefs:
- name: paperclip - group: ""
kind: Service
name: paperclip
port: 3100 port: 3100
weight: 1
matches: matches:
- path: - path:
type: PathPrefix type: PathPrefix
+10 -3
View File
@@ -13,7 +13,9 @@ spec:
hostnames: hostnames:
- puppetboard.k8s.syd1.au.unkin.net - puppetboard.k8s.syd1.au.unkin.net
parentRefs: parentRefs:
- name: puppetboard - group: gateway.networking.k8s.io
kind: Gateway
name: puppetboard
sectionName: http sectionName: http
rules: rules:
- filters: - filters:
@@ -40,12 +42,17 @@ spec:
hostnames: hostnames:
- puppetboard.k8s.syd1.au.unkin.net - puppetboard.k8s.syd1.au.unkin.net
parentRefs: parentRefs:
- name: puppetboard - group: gateway.networking.k8s.io
kind: Gateway
name: puppetboard
sectionName: https sectionName: https
rules: rules:
- backendRefs: - backendRefs:
- name: puppetboard - group: ""
kind: Service
name: puppetboard
port: 80 port: 80
weight: 1
matches: matches:
- path: - path:
type: PathPrefix type: PathPrefix
+7 -2
View File
@@ -13,12 +13,17 @@ spec:
hostnames: hostnames:
- puppetdb.k8s.syd1.au.unkin.net - puppetdb.k8s.syd1.au.unkin.net
parentRefs: parentRefs:
- name: puppetdb - group: gateway.networking.k8s.io
kind: Gateway
name: puppetdb
sectionName: https sectionName: https
rules: rules:
- backendRefs: - backendRefs:
- name: puppetdb - group: ""
kind: Service
name: puppetdb
port: 8080 port: 8080
weight: 1
matches: matches:
- path: - path:
type: PathPrefix type: PathPrefix
+17 -5
View File
@@ -11,7 +11,9 @@ spec:
hostnames: hostnames:
- vault.k8s.syd1.au.unkin.net - vault.k8s.syd1.au.unkin.net
parentRefs: parentRefs:
- name: vault - group: gateway.networking.k8s.io
kind: Gateway
name: vault
sectionName: http sectionName: http
rules: rules:
- filters: - filters:
@@ -36,12 +38,17 @@ spec:
hostnames: hostnames:
- vault.k8s.syd1.au.unkin.net - vault.k8s.syd1.au.unkin.net
parentRefs: parentRefs:
- name: vault - group: gateway.networking.k8s.io
kind: Gateway
name: vault
sectionName: https sectionName: https
rules: rules:
- backendRefs: - backendRefs:
- name: vault - group: ""
kind: Service
name: vault
port: 8200 port: 8200
weight: 1
matches: matches:
- path: - path:
type: PathPrefix type: PathPrefix
@@ -60,12 +67,17 @@ spec:
- vault.service.consul - vault.service.consul
- vault.query.consul - vault.query.consul
parentRefs: parentRefs:
- name: vault - group: gateway.networking.k8s.io
kind: Gateway
name: vault
sectionName: vault-direct sectionName: vault-direct
rules: rules:
- backendRefs: - backendRefs:
- name: vault - group: ""
kind: Service
name: vault
port: 8200 port: 8200
weight: 1
matches: matches:
- path: - path:
type: PathPrefix type: PathPrefix