azsk / DevOpsKit

MIT License
223 stars 81 forks source link

AKS - Use Latest Version is outdated #578

Open lboro opened 5 years ago

lboro commented 5 years ago

Kubernetes - Use Latest Version is outdated

Description (

We recently integrated the ARM Checker to our ARM Templates CI process. We are using the latest version of AKS (1.14.0 as of this writing). We receive the following error from the scan :

Failed: [Azure_KubernetesService_Deploy_Use_Latest_Version]

Here is more detailed from the CSV Report :

ControlId FeatureName Status SupportedResources Severity PropertyPath CurrentValue ExpectedProperty ExpectedValue ResourcePath Description
Azure_KubernetesService_Deploy_Use_Latest_Version KubernetesService Failed Microsoft.ContainerService/ManagedClusters Medium resources[0].properties.kubernetesVersion "1.14.0" $.properties.kubernetesVersion Allow '1.11.5' resources[0] The latest version of Kubernetes should be used

Seems like version 1.11.5 is the latest version according to the DevOpsKit.

Steps to reproduce

Create a AKS ARM Template, hardcode the version to "1.14.0" and run the ARM Template Checker.

Expected behavior

The check should pass since 1.14.0 is higher than the latest version coded in the ARM Template Checker (1.11.5).

Actual behavior

The check is failing with he following message :

Failed: [Azure_KubernetesService_Deploy_Use_Latest_Version]

DexterPOSH commented 5 years ago

Any updates on when this will get addressed?