Skip to content

Commit

Permalink
Merge pull request #7331 from k8s-infra-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…7326-to-cluster-autoscaler-release-1.28

[cluster-autoscaler-release-1.28] azure: use AZURE_ENABLE_DETAILED_CSE_MESSAGE environment variable
  • Loading branch information
k8s-ci-robot authored Oct 3, 2024
2 parents 6397c78 + c342041 commit cc9058c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cluster-autoscaler/cloudprovider/azure/azure_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,9 @@ func BuildAzureConfig(configReader io.Reader) (*Config, error) {
if _, err = assignBoolFromEnvIfExists(&cfg.EnableDynamicInstanceList, "AZURE_ENABLE_DYNAMIC_INSTANCE_LIST"); err != nil {
return nil, err
}
if _, err = assignBoolFromEnvIfExists(&cfg.EnableDetailedCSEMessage, "AZURE_ENABLE_DETAILED_CSE_MESSAGE"); err != nil {
return nil, err
}
if _, err = assignBoolFromEnvIfExists(&cfg.EnableVmssFlexNodes, "AZURE_ENABLE_VMSS_FLEX_NODES"); err != nil {
return nil, err
}
Expand Down

0 comments on commit cc9058c

Please sign in to comment.