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 <noreply@anthropic.com>
This commit is contained in:
@@ -15,6 +15,13 @@ spec:
|
|||||||
path: n8n
|
path: n8n
|
||||||
repoURL: https://git.chemavx.xyz/chemavx/k8s-manifests
|
repoURL: https://git.chemavx.xyz/chemavx/k8s-manifests
|
||||||
targetRevision: main
|
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:
|
syncPolicy:
|
||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
|
|||||||
Reference in New Issue
Block a user