Configuration migrations
This document describes breaking changes in the configuration file format between Constellation releases.
Migrating from CLI versions before 2.3
-
The
sshUsers
field was deprecated in v2.2 and has been removed from the configuration in v2.3. As an alternative for SSH, check the workflow section Connect to nodes. -
The
image
field for each cloud service provider has been replaced with a globalimage
field. Use the following mapping to migrate your configuration:Show all
-
The
enforcedMeasurements
field has been removed and merged with themeasurements
field.-
To migrate your config containing a new image (
v2.3
or greater), remove the oldmeasurements
andenforcedMeasurements
entries from your config and runconstellation fetch-measurements
-
To migrate your config containing an image older than
v2.3
, remove theenforcedMeasurements
entry and replace the entries inmeasurements
as shown in the example below:measurements:
- 0: DzXCFGCNk8em5ornNZtKi+Wg6Z7qkQfs5CfE3qTkOc8=
+ 0:
+ expected: DzXCFGCNk8em5ornNZtKi+Wg6Z7qkQfs5CfE3qTkOc8=
+ warnOnly: true
- 8: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
+ 8:
+ expected: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
+ warnOnly: false
-enforcedMeasurements:
- - 8
-