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
Owner

Summary

  • Adds group: gateway.networking.k8s.io and kind: Gateway to all parentRefs entries
  • Adds group: "", kind: Service, and weight: 1 to all backendRefs entries
  • Affects 9 HTTPRoute files across artifactapi, cattle-system, consul, kanidm, litellm, paperclip, puppet, and vault

Why

ArgoCD diffs the desired manifest against the live Kubernetes object. The Gateway API controller defaults these fields when creating/updating objects, so the live state always has them — causing persistent OutOfSync for every HTTPRoute. Same root cause as #153 (certificateRefs).

Test plan

  • All affected ArgoCD applications show Synced after merge
## Summary - Adds `group: gateway.networking.k8s.io` and `kind: Gateway` to all `parentRefs` entries - Adds `group: ""`, `kind: Service`, and `weight: 1` to all `backendRefs` entries - Affects 9 HTTPRoute files across artifactapi, cattle-system, consul, kanidm, litellm, paperclip, puppet, and vault ## Why ArgoCD diffs the desired manifest against the live Kubernetes object. The Gateway API controller defaults these fields when creating/updating objects, so the live state always has them — causing persistent OutOfSync for every HTTPRoute. Same root cause as #153 (certificateRefs). ## Test plan - [ ] All affected ArgoCD applications show Synced after merge
unkinben added 1 commit 2026-05-24 20:30:27 +10:00
fix(gateways): add explicit group/kind/weight to all HTTPRoute refs
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
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).
unkinben merged commit 1890dd4bda into main 2026-05-24 20:32:37 +10:00
unkinben deleted branch benvin/httproutes-explicit-defaults 2026-05-24 20:32:38 +10:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/argocd-apps#162