Skip to content

Commit 64d522f

Browse files
authored
Merge pull request #185 from projectsyn/sdd/update-instance-versioning-sdd
Update SDD 0033 - Commodore Component Instance Versioning
2 parents 2353ce3 + c2f39da commit 64d522f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/modules/SDDs/pages/0033-commodore-component-instance-versioning.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
:sdd_owner: Aldebaran
55
:sdd_reviewers: Simon Gerber
66
:sdd_date: 2025-01-08
7-
:sdd_status: accepted
7+
:sdd_status: implemented
88
include::partial$meta-info-table.adoc[]
99

1010
[NOTE]
@@ -30,7 +30,7 @@ Commodore will leverage the existing configuration options in `.parameters.compo
3030
Instance versions can be specified in `.parameters.components.<instance-name>` and override the value specified in `.parameters.components.<component-name>`.
3131
Even if all instances provide their own version, a version for the base component (`.parameters.components.<component-name>`) must still be specified.
3232

33-
Component authors must explicitly declare that their component supports multi-versioning by setting component parameter `_metadata.multi_versioning=true`.
33+
Component authors must explicitly declare that their component supports multi-versioning by setting component parameter `_metadata.multi_version=true`.
3434
In a valid catalog, all used versions of the same component must advertise this support.
3535

3636
Components with multi-versioning support must ensure they create no file conflicts when downloading dependencies.
@@ -42,6 +42,8 @@ If a component is to support multi-versioning, Jsonnet dependencies should there
4242

4343
Similarly, if the component includes a Jsonnet library that is made available to other components, the version for the library is taken from the main (non-instantiated) version of the component.
4444

45+
Finally, if a component reads another component's default values, it will always see the default values of the main (non-instantiated) version of the component.
46+
4547
=== Implementation Details/Notes/Constraints
4648

4749
We can clone the repository of the base component and create a separate worktree for each instance to check out the correct version.

0 commit comments

Comments
 (0)