fix(kanidm): add explicit group/kind/weight to TLSRoute refs #165

Merged
unkinben merged 1 commits from benvin/kanidm-outsync-fix into main 2026-05-25 22:43:53 +10:00
Owner

Summary

  • Adds group: gateway.networking.k8s.io and kind: Gateway to parentRefs
  • Adds group: "", kind: Service, and weight: 1 to backendRefs

Why

The Gateway API controller defaults these fields when creating/updating TLSRoute objects, so the live state always has them. ArgoCD diffs desired vs live by string comparison, causing the kanidm TLSRoute to show permanent OutOfSync. Same root cause as #162 (HTTPRoutes).

## Summary - Adds `group: gateway.networking.k8s.io` and `kind: Gateway` to `parentRefs` - Adds `group: ""`, `kind: Service`, and `weight: 1` to `backendRefs` ## Why The Gateway API controller defaults these fields when creating/updating TLSRoute objects, so the live state always has them. ArgoCD diffs desired vs live by string comparison, causing the `kanidm` TLSRoute to show permanent OutOfSync. Same root cause as #162 (HTTPRoutes).
unkinben added 1 commit 2026-05-24 23:49:57 +10:00
fix(kanidm): add explicit group/kind/weight to TLSRoute refs
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
3b74287860
The Gateway API controller defaults group, kind, and weight on
parentRefs and backendRefs. ArgoCD diffs desired vs live by string
comparison, so omitting these fields causes permanent OutOfSync.
Same root cause as #162 (HTTPRoutes) but applied to TLSRoute.
unkinben merged commit f403c6b05d into main 2026-05-25 22:43:53 +10:00
unkinben deleted branch benvin/kanidm-outsync-fix 2026-05-25 22:43:53 +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#165