Skip to content

Commit

Permalink
Azure: delete msft.asc after installing azure-cli & add additional fi…
Browse files Browse the repository at this point in the history
…elds in API model
  • Loading branch information
Ernest Wong committed May 12, 2020
1 parent 2bc1231 commit 5b6a44c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions kubetest/aksengine_helpers.go
Expand Up @@ -141,6 +141,7 @@ type KubernetesConfig struct {
CloudProviderRateLimitQPS float64 `json:"cloudProviderRateLimitQPS,omitempty"`
CloudProviderRateLimitBucket int `json:"cloudProviderRateLimitBucket,omitempty"`
APIServerConfig map[string]string `json:"apiServerConfig,omitempty"`
CloudControllerManagerConfig map[string]string `json:"cloudControllerManagerConfig,omitempty"`
KubernetesImageBase string `json:"kubernetesImageBase,omitempty"`
ControllerManagerConfig map[string]string `json:"controllerManagerConfig,omitempty"`
KubeletConfig map[string]string `json:"kubeletConfig,omitempty"`
Expand Down Expand Up @@ -194,6 +195,7 @@ type AgentPoolProfile struct {
Extensions []map[string]string `json:"extensions,omitempty"`
OSDiskSizeGB int `json:"osDiskSizeGB,omitempty" validate:"min=0,max=1023"`
EnableVMSSNodePublicIP bool `json:"enableVMSSNodePublicIP,omitempty"`
StorageProfile string `json:"storageProfile,omitempty"`
}

type AzureClient struct {
Expand Down Expand Up @@ -489,5 +491,9 @@ func installAzureCLI() error {
return err
}

if err := os.Remove("msft.asc"); err != nil {
return err
}

return nil
}

0 comments on commit 5b6a44c

Please sign in to comment.