Skip to content

Commit da627a9

Browse files
authored
Merge pull request #47 from projectsyn/template-sync
Update from component template
2 parents 9c00a42 + 4980585 commit da627a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.cruft.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "https://github.com/projectsyn/commodore-component-template.git",
3-
"commit": "f12cbb49f928cf689cf39b98d8d7c9e88fb289f6",
3+
"commit": "98d16f99766e6c6d97322dbe42e058f0e2bf73d0",
44
"checkout": "main",
55
"context": {
66
"cookiecutter": {

component/app.jsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ local argocd = import 'lib/argocd.libjsonnet';
66
local app = argocd.App('metrics-server', params.namespace);
77

88
local appPath =
9-
local project = std.get(app, 'spec', { project: 'syn' }).project;
9+
local project = std.get(std.get(app, 'spec', {}), 'project', 'syn');
1010
if project == 'syn' then 'apps' else 'apps-%s' % project;
1111

1212
{

0 commit comments

Comments
 (0)