From 219c4b39accb2aa9d1a786e7e22d8c8ae06aab4b Mon Sep 17 00:00:00 2001 From: Stephan Feurer Date: Sat, 5 Oct 2024 10:15:30 +0200 Subject: [PATCH] Fix app manifests path --- component/app.jsonnet | 8 +------- tests/golden/config/fluentbit/apps/fluentbit.yaml | 3 --- tests/golden/defaults/fluentbit/apps/fluentbit.yaml | 3 --- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/component/app.jsonnet b/component/app.jsonnet index d3f260b..dee21da 100644 --- a/component/app.jsonnet +++ b/component/app.jsonnet @@ -3,13 +3,7 @@ local inv = kap.inventory(); local params = inv.parameters.fluentbit; local argocd = import 'lib/argocd.libjsonnet'; -local app = argocd.App(inv.parameters._instance, params.namespace) { - spec+: { - source+: { - path: 'manifests/fluentbit/' + inv.parameters._instance, - }, - }, -}; +local app = argocd.App(inv.parameters._instance, params.namespace); { [inv.parameters._instance]: app, diff --git a/tests/golden/config/fluentbit/apps/fluentbit.yaml b/tests/golden/config/fluentbit/apps/fluentbit.yaml index 1d84d89..e69de29 100644 --- a/tests/golden/config/fluentbit/apps/fluentbit.yaml +++ b/tests/golden/config/fluentbit/apps/fluentbit.yaml @@ -1,3 +0,0 @@ -spec: - source: - path: manifests/fluentbit/fluentbit diff --git a/tests/golden/defaults/fluentbit/apps/fluentbit.yaml b/tests/golden/defaults/fluentbit/apps/fluentbit.yaml index 1d84d89..e69de29 100644 --- a/tests/golden/defaults/fluentbit/apps/fluentbit.yaml +++ b/tests/golden/defaults/fluentbit/apps/fluentbit.yaml @@ -1,3 +0,0 @@ -spec: - source: - path: manifests/fluentbit/fluentbit