From d1efb91a4b01d5c2ba16f08d1a7250703b6ebfd0 Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Fri, 23 Oct 2026 17:36:14 +0200 Subject: [PATCH] gateway: diff the Gateway resources server-side The API server fills in Gateway API defaults such as the parentRef group and kind and a PathPrefix / match, so Argo CD's client-side diff kept gateway-folder OutOfSync. --- apps/templates/gateway-folder.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/templates/gateway-folder.yaml b/apps/templates/gateway-folder.yaml index 1209adb..693d52c 100644 --- a/apps/templates/gateway-folder.yaml +++ b/apps/templates/gateway-folder.yaml @@ -3,6 +3,10 @@ kind: Application metadata: name: gateway-folder namespace: argocd + annotations: + # Let the API server fill in Gateway API defaults before diffing, or + # every defaulted field shows up as a difference. + argocd.argoproj.io/compare-options: ServerSideDiff=true finalizers: - resources-finalizer.argocd.argoproj.io spec: