feat(resource): define Azure container resource types (azure-acr-repo, azure-aks-cluster) #2431

Open
opened 2026-04-03 18:02:26 +00:00 by freemo · 0 comments
Owner

Metadata

  • Branch: feat/v360/azure-container-types
  • Commit Message: feat(resource): define azure-acr-repo and azure-aks-cluster resource types
  • Milestone: v3.6.0
  • Parent Epic: #1019

Background

Part of the Azure cloud resource hierarchy expansion (Epic #1019). This issue implements the Azure container resource types following the generic cloud-* base layer pattern established by PR #669.

Azure Container Registry (ACR) and Azure Kubernetes Service (AKS) are the primary container infrastructure services in Azure, both scoped to a resource group.

Expected Behavior

  • azure-acr-repo inherits from cloud-container-repo, is auto-discovered as a child of azure-resource-group
  • azure-aks-cluster inherits from cloud-container-cluster, is auto-discovered as a child of azure-resource-group
  • Both types are non-user-addable
  • Both types pass ResourceTypeSpec.from_config() validation
  • Inheritance chain depth ≤ 5 levels (ADR-042)

Acceptance Criteria

  • azure-acr-repo defined with inherits: cloud-container-repo, parent azure-resource-group, user_addable: false
  • azure-aks-cluster defined with inherits: cloud-container-cluster, parent azure-resource-group, user_addable: false
  • Both types registered in the resource type registry
  • Both types pass ResourceTypeSpec.from_config() validation
  • Inheritance chain ≤ 5 levels deep
  • All nox stages pass
  • Coverage ≥ 97%

Dependencies

  • Blocked by: #2425 (azure-subscription and azure-resource-group must exist first)
  • Blocks: #1019

Subtasks

  • Define azure-acr-repo resource type config with inherits: cloud-container-repo, parent azure-resource-group
  • Define azure-aks-cluster resource type config with inherits: cloud-container-cluster, parent azure-resource-group
  • Register both types in the resource type registry
  • Validate both types pass ResourceTypeSpec.from_config() validation
  • Run nox (all default sessions), fix any errors
  • Verify coverage ≥ 97% via nox -s coverage_report

Definition of Done

  • All subtasks completed and checked off
  • azure-acr-repo and azure-aks-cluster resource types are defined, registered, and validated
  • A Git commit is created where the first line of the commit message matches the Commit Message in Metadata exactly
  • The commit is pushed to the remote on the branch matching the Branch in Metadata exactly
  • The commit is submitted as a pull request to master, reviewed, and merged before this issue is marked done
  • All nox stages pass
  • Coverage ≥ 97%

Automated by CleverAgents Bot
Supervisor: Unknown | Agent: ca-epic-planner

## Metadata - **Branch**: `feat/v360/azure-container-types` - **Commit Message**: `feat(resource): define azure-acr-repo and azure-aks-cluster resource types` - **Milestone**: v3.6.0 - **Parent Epic**: #1019 ## Background Part of the Azure cloud resource hierarchy expansion (Epic #1019). This issue implements the Azure container resource types following the generic `cloud-*` base layer pattern established by PR #669. Azure Container Registry (ACR) and Azure Kubernetes Service (AKS) are the primary container infrastructure services in Azure, both scoped to a resource group. ## Expected Behavior - `azure-acr-repo` inherits from `cloud-container-repo`, is auto-discovered as a child of `azure-resource-group` - `azure-aks-cluster` inherits from `cloud-container-cluster`, is auto-discovered as a child of `azure-resource-group` - Both types are non-user-addable - Both types pass `ResourceTypeSpec.from_config()` validation - Inheritance chain depth ≤ 5 levels (ADR-042) ## Acceptance Criteria - [ ] `azure-acr-repo` defined with `inherits: cloud-container-repo`, parent `azure-resource-group`, `user_addable: false` - [ ] `azure-aks-cluster` defined with `inherits: cloud-container-cluster`, parent `azure-resource-group`, `user_addable: false` - [ ] Both types registered in the resource type registry - [ ] Both types pass `ResourceTypeSpec.from_config()` validation - [ ] Inheritance chain ≤ 5 levels deep - [ ] All nox stages pass - [ ] Coverage ≥ 97% ## Dependencies - Blocked by: #2425 (azure-subscription and azure-resource-group must exist first) - Blocks: #1019 ## Subtasks - [ ] Define `azure-acr-repo` resource type config with `inherits: cloud-container-repo`, parent `azure-resource-group` - [ ] Define `azure-aks-cluster` resource type config with `inherits: cloud-container-cluster`, parent `azure-resource-group` - [ ] Register both types in the resource type registry - [ ] Validate both types pass `ResourceTypeSpec.from_config()` validation - [ ] Run `nox` (all default sessions), fix any errors - [ ] Verify coverage ≥ 97% via `nox -s coverage_report` ## Definition of Done - [ ] All subtasks completed and checked off - [ ] `azure-acr-repo` and `azure-aks-cluster` resource types are defined, registered, and validated - [ ] A Git commit is created where the **first line** of the commit message matches the Commit Message in Metadata exactly - [ ] The commit is pushed to the remote on the branch matching the **Branch** in Metadata exactly - [ ] The commit is submitted as a **pull request** to `master`, reviewed, and **merged** before this issue is marked done - [ ] All nox stages pass - [ ] Coverage ≥ 97% --- **Automated by CleverAgents Bot** Supervisor: Unknown | Agent: ca-epic-planner
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
cleveragents/cleveragents-core#2431
No description provided.