Azure / Azure/template-analyzer

[BUG]: TA-000025 incorrectly triggers when kubernetesVersion is not specified

Open
#272 0 comments 2 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
143
Forks
47
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug

This template: https://github.com/Azure/azure-quickstart-templates/blob/master/quickstarts/microsoft.kubernetes/aks-helm/azuredeploy.json

Does not specify the kubernetesVersion property and the rule triggers saying the version is not recent enough. Since it defaults to the latest, it should not trigger.

See: https://dev.azure.com/azurequickstarts/azure-quickstart-templates/_build/results?buildId=107488&view=logs&j=275f1d19-1bd8-5591-b06b-07d489ea915a&t=ec3fc289-4acf-571e-9b55-fd87fe6d2780

### Expected behavior

Since the version property defaults to the latest, it should not trigger.

### Reproduction Steps

Run BPA on the above template.

### Environment

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.