-
Couldn't load subscription status.
- Fork 2.8k
Open
Labels
good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.scan/misconfigurationIssues relating to misconfiguration scanningIssues relating to misconfiguration scanning
Description
Currently, we only adapt Kubernetes clusters for Terraform configurations. For ARM templates (Azure Resource Manager), there is currently only a placeholder function:
Azure Managed Cluster resource documentation (ARM): Microsoft Docs
Plan of action:
-
Implement an adapter for ARM Kubernetes clusters that populates the container.Container structure.
The adapter should transform resource data according to the container model, following the conventions used by other ARM adapters in the iac/adapters/arm package. -
Write unit tests in the
adapt_test.gofile, located next to the adapter implementation.
Use a table-driven approach. The tests should include:- a case with an empty configuration — to verify that default values (if any) are correctly applied;
- a case with a complete configuration — to verify that all fields are populated correctly.
Metadata
Metadata
Assignees
Labels
good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.scan/misconfigurationIssues relating to misconfiguration scanningIssues relating to misconfiguration scanning