diff --git a/.cruft.json b/.cruft.json index 4c73756..fa785ab 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 a713291..8f81e48 100644 --- a/component/app.jsonnet +++ b/component/app.jsonnet @@ -7,7 +7,7 @@ local argocd = import 'lib/argocd.libjsonnet'; local app = argocd.App('backup-k8up', 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; {