baseConfig type
This is a preview feature.
Its API and behavior is subject to change.
You must enable this feature by specifying base-configs in the
previewFeatures API.
Defines a single configuration file to inherit from.
BaseConfigs specifies a list of base configuration files to inherit from. When multiple base configs are specified, fields are resolved in order — Fields from later configurations override or extend those from earlier ones, or are processed sequentially.
The current(last) config’s value (if specified) overrides all base configs.
.input.image.path.output.image.path.output.image.format.output.artifacts.path.os.hostname.os.selinux.os.uki
Base config items are merged with current config’s items
.output.artifacts.items.os.kernelCommandLine
Base config items are processed first, followed by current config’s.
.os.users.os.groups.os.services.os.packages(If .os.packages.snapshotTime is specified, it is applied per-config).os.modules.os.additionalFiles.os.additionalDirs.os.overlays
Pick the strongest option from the base config and current config.
-
.os.bootLoader.resetTypeThe option ordering, from strongest to weakest: -
"hard-reset"-""(i.e. no reset)
path [string]
Required.
A file path to the base config file. The path can be either relative or absolute. Relative paths are resolved relative to the parent directory of the current config file.
Example:
baseConfigs:
- path: ./base-config.yaml
- path: /absolute/path/to/base-config.yaml
Added in v1.1.0.