apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: coredns
  namespace: argocd
spec:
  project: system
  source:
    repoURL: "https://coredns.github.io/helm"
    targetRevision: 1.29.x
    chart: coredns
    helm:
      valuesObject:
        services:
          clusterIP: 10.43.0.2
  destination:
    namespace: kube-system
    name: in-cluster
  syncPolicy:
    syncOptions:
      - ServerSideApply=true
