From a6d6ed0a56decd674f061472a3c61d43e108b1e9 Mon Sep 17 00:00:00 2001 From: simu Date: Tue, 7 Jan 2025 15:28:13 +0000 Subject: [PATCH] Update from template Template version: main (98d16f9) --- .cruft.json | 2 +- component/app.jsonnet | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.cruft.json b/.cruft.json index cb5b904..c41a1ab 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/projectsyn/commodore-component-template.git", - "commit": "f12cbb49f928cf689cf39b98d8d7c9e88fb289f6", + "commit": "98d16f99766e6c6d97322dbe42e058f0e2bf73d0", "checkout": "main", "context": { "cookiecutter": { diff --git a/component/app.jsonnet b/component/app.jsonnet index e62915b..1b099ae 100644 --- a/component/app.jsonnet +++ b/component/app.jsonnet @@ -6,7 +6,7 @@ local argocd = import 'lib/argocd.libjsonnet'; local app = argocd.App('control-api', params.namespace); local appPath = - local project = std.get(app, 'spec', { project: 'syn' }).project; + local project = std.get(std.get(app, 'spec', {}), 'project', 'syn'); if project == 'syn' then 'apps' else 'apps-%s' % project; {