1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-16 06:59:25 +00:00

changes around hostname-override

This commit is contained in:
Kinara Shah
2023-01-10 17:09:02 -08:00
parent 4cc090ca90
commit f44be421a1
5 changed files with 22 additions and 11 deletions

View File

@@ -554,6 +554,8 @@ type PortCheck struct {
type CloudProvider struct {
// Name of the Cloud Provider
Name string `yaml:"name" json:"name,omitempty"`
// Only configured for AWS currently, add for other providers as needed
UseInstanceMetadataHostname *bool ` yaml:"useInstanceMetadataHostname,omitempty" json:"useInstanceMetadataHostname,omitempty"`
// AWSCloudProvider
AWSCloudProvider *AWSCloudProvider `yaml:"awsCloudProvider,omitempty" json:"awsCloudProvider,omitempty"`
// AzureCloudProvider