mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #49261 from heidecke/on-premises
Automatic merge from submit-queue Fix on-premises term in error string and comments for aws provider **What this PR does / why we need it**: fix for correct terminology of "on-premises" over "on-premise" **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: n/a **Special notes for your reviewer**: Updated error string while doing a scrub for the incorrect term in the docs (kubernetes/kubernetes.github.io#4413). **Release note**: ```release-note NONE ```
This commit is contained in:
commit
de71cc50d5
@ -403,7 +403,7 @@ type CloudConfig struct {
|
||||
Zone string
|
||||
|
||||
// The AWS VPC flag enables the possibility to run the master components
|
||||
// on a different aws account, on a different cloud provider or on-premise.
|
||||
// on a different aws account, on a different cloud provider or on-premises.
|
||||
// If the flag is set also the KubernetesClusterTag must be provided
|
||||
VPC string
|
||||
// SubnetID enables using a specific subnet to use for ELB's
|
||||
@ -876,9 +876,9 @@ func newAWSCloud(config io.Reader, awsServices Services) (*Cloud, error) {
|
||||
awsCloud.instanceCache.cloud = awsCloud
|
||||
|
||||
if cfg.Global.VPC != "" && cfg.Global.SubnetID != "" && (cfg.Global.KubernetesClusterTag != "" || cfg.Global.KubernetesClusterID != "") {
|
||||
// When the master is running on a different AWS account, cloud provider or on-premise
|
||||
// When the master is running on a different AWS account, cloud provider or on-premises
|
||||
// build up a dummy instance and use the VPC from the nodes account
|
||||
glog.Info("Master is configured to run on a different AWS account, different cloud provider or on-premise")
|
||||
glog.Info("Master is configured to run on a different AWS account, different cloud provider or on-premises")
|
||||
awsCloud.selfAWSInstance = &awsInstance{
|
||||
nodeName: "master-dummy",
|
||||
vpcID: cfg.Global.VPC,
|
||||
|
Loading…
Reference in New Issue
Block a user