mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-15 22:29:09 +01:00
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.
27 lines
701 B
YAML
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
|