apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: nginx namespace: argocd spec: project: default source: repoURL: https://github.com/nakkoh/argocd_hpa.git targetRevision: master path: nginx destination: server: https://kubernetes.default.svc namespace: argocd_hpa ignoreDifferences: - group: apps kind: Deployment name: nginx namespace: argocd-hpa jsonPointers: - /spec/replicas syncPolicy: automated: {}