config/options: add KubeConfigPath
Access to this is required by cloudprovider/clusterapi.
This commit is contained in:
parent
4efe655494
commit
1efc258b3c
|
|
@ -137,4 +137,6 @@ type AutoscalingOptions struct {
|
|||
IgnoredTaints []string
|
||||
// AWSUseStaticInstanceList tells if AWS cloud provider use static instance type list or dynamically fetch from remote APIs.
|
||||
AWSUseStaticInstanceList bool
|
||||
// Path to kube configuration if available
|
||||
KubeConfigPath string
|
||||
}
|
||||
|
|
|
|||
|
|
@ -235,6 +235,7 @@ func createAutoscalingOptions() config.AutoscalingOptions {
|
|||
Regional: *regional,
|
||||
NewPodScaleUpDelay: *newPodScaleUpDelay,
|
||||
IgnoredTaints: *ignoreTaintsFlag,
|
||||
KubeConfigPath: *kubeConfigFile,
|
||||
NodeDeletionDelayTimeout: *nodeDeletionDelayTimeout,
|
||||
AWSUseStaticInstanceList: *awsUseStaticInstanceList,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue