Add enforcedMeasurements default value to config

A previous change started enforcing PCR values.
This makes it necessary to update the respective config
values before running init.
This commit is contained in:
Otto Bittner 2022-08-15 09:34:31 +02:00
parent ba4471a228
commit 3018bfa03e

View File

@ -51,11 +51,13 @@ runs:
(.provider | select(. | has(\"azure\")).azure.tenant) = \"adb650a8-5da3-4b15-b4b0-3daf65ff7626\" |
(.provider | select(. | has(\"azure\")).azure.location) = \"North Europe\" |
(.provider | select(. | has(\"azure\")).azure.userAssignedIdentity) = \"/subscriptions/0d202bbb-4fa7-4af8-8125-58c269a05435/resourceGroups/constellation-images/providers/Microsoft.ManagedIdentity/userAssignedIdentities/constellation-dev-identity\"" \
(.provider | select(. | has(\"azure\")).azure.enforcedMeasurements) = [11,12]" \
constellation-conf.yaml
yq eval -i \
"(.provider | select(. | has(\"gcp\")).gcp.project) = \"constellation-331613\" |
(.provider | select(. | has(\"gcp\")).gcp.region) = \"europe-west3\" |
(.provider | select(. | has(\"gcp\")).gcp.zone) = \"europe-west3-b\"" \
(.provider | select(. | has(\"gcp\")).gcp.enforcedMeasurements) = [11,12]" \
constellation-conf.yaml
if [ ${{ inputs.kubernetesVersion != '' }} = true ]; then