You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 <aline.abler@vshn.ch>
Co-authored-by: Aline Abler <alinea@riseup.net>
0 commit comments