From 9d42dac312c7060647e21d266281530749a5c0dd Mon Sep 17 00:00:00 2001 From: chemavx Date: Thu, 30 Jul 2026 20:20:18 +0000 Subject: [PATCH] argocd: excluir los exports de workflow de la app n8n Una Application de tipo directorio lee *.yaml, *.yml y *.json indistintamente, asi que la copia del workflow que acabo de meter en n8n/ entraba como si fuera un manifiesto y dejaba la app en ComparisonError: "Object 'Kind' is missing". Co-Authored-By: Claude Opus 5 --- argocd/application-n8n.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/argocd/application-n8n.yaml b/argocd/application-n8n.yaml index c7ab4a9..381b6c6 100644 --- a/argocd/application-n8n.yaml +++ b/argocd/application-n8n.yaml @@ -15,6 +15,13 @@ spec: 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