-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support different versions per instance of a component (#559)
This PR changes Commodore to * Create separate worktrees for each component alias * Create class symlinks for each component alias * Create each alias target with only the defaults and component class symlinked from the alias worktree * Read instance versions from `parameters.components.<instance-name>` Note that per-instance versions only work correctly only for components which use `${_base_directory}` in their config when specifying Jsonnet files or Helm chart/YAML locations in `kapitan.compile` and `kapitan.dependencies`. Note, that components should use `${_base_directory}` anyway, and new components created from the template use `${_base_directory}` out of the box. Components must signal that they support per-instance versions by setting component parameter `_metadata.multi_version=true`. Resolves #563 Co-authored-by: Aline Abler <[email protected]> Co-authored-by: Aline Abler <[email protected]>
- Loading branch information
1 parent
147f4c3
commit 62d7637
Showing
19 changed files
with
636 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.