apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: n8n namespace: argocd annotations: notifications.argoproj.io/subscribe.on-sync-failed.telegram: "5138407666" notifications.argoproj.io/subscribe.on-health-degraded.telegram: "5138407666" spec: destination: namespace: n8n server: https://kubernetes.default.svc project: default source: path: n8n repoURL: https://git.chemavx.xyz/chemavx/k8s-manifests targetRevision: main directory: # En n8n/ conviven manifiestos y ficheros de referencia. Una app de tipo # directorio se traga *.yaml, *.yml y *.json por igual, asi que el export # del workflow entraba como manifiesto y dejaba la Application en # ComparisonError ("Object 'Kind' is missing"). Lo que no sea un objeto de # Kubernetes va aqui. exclude: "workflow-*.json" syncPolicy: automated: prune: true selfHeal: true syncOptions: - CreateNamespace=true - RespectIgnoreDifferences=true