Files
k8scd/apps/templates/gateway-folder.yaml
T
Ruben Hensen d1efb91a4b 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.
2026-10-23 17:36:14 +02:00

27 lines
701 B
YAML

apiVersion: argoproj.io/v1alpha1
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:
project: default
source:
repoURL: https://github.com/rubenhensen/k8scd.git
targetRevision: HEAD
path: gateway
destination:
server: https://kubernetes.default.svc
namespace: envoy-gateway-system
syncPolicy:
syncOptions:
- ServerSideApply=true
automated:
prune: true
selfHeal: true