[Azure] Filters service account secret volume mount for Windows (#60)
* filters the SA secret volume for windows * make it a map * bettern go convention
This commit is contained in:
@@ -64,6 +64,9 @@ func New(nodeName, operatingSystem, namespace, kubeConfig, taint, provider, prov
|
||||
rm := manager.NewResourceManager(clientset)
|
||||
|
||||
daemonEndpointPortEnv := os.Getenv("KUBELET_PORT")
|
||||
if daemonEndpointPortEnv == "" {
|
||||
daemonEndpointPortEnv = "10250"
|
||||
}
|
||||
i64value, err := strconv.ParseInt(daemonEndpointPortEnv, 10, 32)
|
||||
daemonEndpointPort := int32(i64value)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user