Skip to content

Commit 7d5058b

Browse files
committed
[ACR] Add breaking change announcement for acr content-trust related commands
1 parent b14f284 commit 7d5058b

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

src/azure-cli/azure/cli/command_modules/acr/_breaking_change.py

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
# Licensed under the MIT License. See License.txt in the project root for license information.
44
# --------------------------------------------------------------------------------------------
55

6-
from azure.cli.core.breaking_change import register_command_group_deprecate
6+
from azure.cli.core.breaking_change import (
7+
register_command_group_deprecate,
8+
register_logic_breaking_change
9+
)
710

811
helm_bc_msg = 'In November 2020, Helm 2 reached end of life. ' \
912
'Starting on March 30th, 2025 Azure Container Registry will no longer support Helm 2. ' \
@@ -20,5 +23,21 @@
2023
'then it is stored in a legacy Helm repository and is at risk of deletion.\n' \
2124
'For more information on managing and deploying applications for Kubernetes, ' \
2225
'see https://aka.ms/acr/helm.'
26+
27+
content_trust_bc_msg = 'Content Trust is being deprecated and will be completely removed on March 31, 2028. ' \
28+
'Refer to https://aka.ms/acr/dctdeprecation for details and transition guidance'
29+
2330
register_command_group_deprecate(command_group='acr helm', redirect='Helm v3 commands', message=helm_bc_msg,
2431
target_version='Sept 30th, 2025')
32+
33+
register_command_group_deprecate(command_group='acr config content-trust', message=content_trust_bc_msg)
34+
35+
register_logic_breaking_change('acr check-health', 'Remove Notary client version validation',
36+
detail='The Notary client version check will no longer be performed as part of the '
37+
'check-health command due to Docker Content Trust deprecation.',
38+
doc_link='https://aka.ms/acr/dctdeprecation')
39+
40+
register_logic_breaking_change('acr config content-trust update', 'Remove content-trust enabled configuration',
41+
detail='The `--status enabled` parameter will no longer be accepted and will result in '
42+
'an error due to Docker Content Trust deprecation.',
43+
doc_link='https://aka.ms/acr/dctdeprecation')

0 commit comments

Comments
 (0)