mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-15 14:29:09 +01:00
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.
This commit is contained in:
1 parent
f4377616e6
commit
d1efb91a4b
1 file changed
+4
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user