|
3 | 3 | # Licensed under the MIT License. See License.txt in the project root for license information. |
4 | 4 | # -------------------------------------------------------------------------------------------- |
5 | 5 |
|
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 | +) |
7 | 10 |
|
8 | 11 | helm_bc_msg = 'In November 2020, Helm 2 reached end of life. ' \ |
9 | 12 | 'Starting on March 30th, 2025 Azure Container Registry will no longer support Helm 2. ' \ |
|
20 | 23 | 'then it is stored in a legacy Helm repository and is at risk of deletion.\n' \ |
21 | 24 | 'For more information on managing and deploying applications for Kubernetes, ' \ |
22 | 25 | '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 | + |
23 | 30 | register_command_group_deprecate(command_group='acr helm', redirect='Helm v3 commands', message=helm_bc_msg, |
24 | 31 | 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