apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: guestbook # You'll usually want to add your resources to the argocd namespace. namespace: argocd # Add a this finalizer ONLY if you want these to cascade delete. finalizers: - resources-finalizer.argocd.argoproj.io spec: # The project the application belongs to. project: default # Source of the application manifests source: repoURL: https://github.com/argoproj/argocd-example-apps.git targetRevision: HEAD path: guestbook # helm specific config helm: # Extra parameters to set (same as setting through values.yaml, but these take precedence) parameters: - name: "nginx-ingress.controller.service.annotations.external-dns\\.alpha\\.kubernetes\\.io/hostname" value: mydomain.example.com # Release name override (defaults to application name) releaseName: guestbook valueFiles: - values-prod.yaml # kustomize specific config kustomize: # Optional image name prefix namePrefix: prod- # Optional images passed to "kustomize edit set image". images: - gcr.io/heptio-images/ks-guestbook-demo:0.2 # directory directory: recurse: true jsonnet: # A list of Jsonnet External Variables extVars: - name: foo value: bar # You can use "code to determine if the value is either string (false, the default) or Jsonnet code (if code is true). - code: true name: baz value: "true" # A list of Jsonnet Top-level Arguments tlas: - code: false name: foo value: bar # plugin specific config plugin: name: mypluginname # environment variables passed to the plugin env: - name: FOO value: bar # Destination cluster and namespace to deploy the application destination: server: https://kubernetes.default.svc namespace: guestbook # Sync policy syncPolicy: automated: prune: true # Specifies if resources should be pruned during auto-syncing ( false by default ). selfHeal: true # Specifies if partial app sync should be executed when resources are changed only in target Kubernetes cluster and no git change detected ( false by default ). # Ignore differences at the specified json pointers ignoreDifferences: - group: apps kind: Deployment jsonPointers: - /spec/replicas