Summary
kars up cannot complete on Azure. The ARM deployment fails because modules/acr.bicep sets the ACR Content Trust policy unconditionally, and Azure now rejects that value.
Version
@kars-runtime/cli@0.1.26 (latest published at time of writing)
--release v0.1.26
- Azure CLI 2.85.0
Error
ContentTrustUnsupported: The value 'enabled' for property 'status' in 'trustPolicy'
is not supported. Content Trust is being deprecated and will be completely removed
on March 31, 2028. Refer to https://aka.ms/acr/dctdeprecation
Surfaced as a nested failure under the <baseName>-acr deployment.
Root cause
dist/deploy/bicep/modules/acr.bicep:
policies: {
trustPolicy: {
type: 'Notary'
status: 'enabled'
}
}
This is unconditional. It is also baked into the compiled main.json. There is no CLI flag or Bicep parameter that disables it, so no supported configuration avoids the failure.
Reproduction
npx @kars-runtime/cli@0.1.26 up \
--region <region> \
--resource-group <rg> \
--cluster-name <name> \
--release v0.1.26 \
--yes
Fails during az deployment group create.
Impact
Blocks first deployment entirely. Because v0.1.26 is the latest published release, there is no newer artifact to move to.
Note that the deployment fails after ACR, Log Analytics, Application Insights and an Azure OpenAI account have already been created, and these are not rolled back (filed separately).
Suggested fix
Remove the trustPolicy block. Content Trust / Notary v1 is deprecated; the modern equivalent is Notation + cosign-style artifact signing verified at admission, which is orthogonal to the registry policy.
Removing the block locally was sufficient to get past this error.
Summary
kars upcannot complete on Azure. The ARM deployment fails becausemodules/acr.bicepsets the ACR Content Trust policy unconditionally, and Azure now rejects that value.Version
@kars-runtime/cli@0.1.26(latest published at time of writing)--release v0.1.26Error
Surfaced as a nested failure under the
<baseName>-acrdeployment.Root cause
dist/deploy/bicep/modules/acr.bicep:This is unconditional. It is also baked into the compiled
main.json. There is no CLI flag or Bicep parameter that disables it, so no supported configuration avoids the failure.Reproduction
Fails during
az deployment group create.Impact
Blocks first deployment entirely. Because
v0.1.26is the latest published release, there is no newer artifact to move to.Note that the deployment fails after ACR, Log Analytics, Application Insights and an Azure OpenAI account have already been created, and these are not rolled back (filed separately).
Suggested fix
Remove the
trustPolicyblock. Content Trust / Notary v1 is deprecated; the modern equivalent is Notation +cosign-style artifact signing verified at admission, which is orthogonal to the registry policy.Removing the block locally was sufficient to get past this error.