PSRule.Rules.Azure
PSRule.Rules.Azure copied to clipboard
Realign naming of configuration settings
Configuration setting name should only use caps to align to how environment variables are set. On Linux environment variables are case-sensitive. As a result, environment variables are commonly expressed with all caps.
To reduce confusion when setting configuration via environment variables all configuration names should be updated to use only caps. This will be a breaking change and will affect the following configuration options:
Azure_AKSMinimumVersionAzure_AKSNodeMinimumMaxPodsAzure_AllowedRegionsAzure_MinimumCertificateLifetime
Renamed configuration options will be:
- [x]
AZURE_AKS_CLUSTER_MINIMUM_VERSIONinstead ofAzure_AKSMinimumVersion - [x]
AZURE_AKS_POOL_MINIMUM_MAXPODSinstead ofAzure_AKSNodeMinimumMaxPods - [x]
AZURE_RESOURCE_ALLOWED_LOCATIONSinstead ofAzure_AllowedRegions - [x]
AZURE_APIM_MINIMUM_CERTIFICATE_LIFETIMEinstead ofAzure_MinimumCertificateLifetime