Documentation ¶
Index ¶
Constants ¶
View Source
const ( AWSAccessKeyID = "AWS_ACCESS_KEY_ID" AWSSecretAccessKey = "AWS_SECRET_ACCESS_KEY" DigitalOceanTokenKey = "DO_TOKEN" GoogleServiceAccountKey = "GOOGLE_SERVICE_ACCOUNT" HetznerTokenKey = "HZ_TOKEN" OpenStackAuthURL = "OS_AUTH_URL" OpenStackDomainName = "OS_DOMAIN_NAME" OpenStackPassword = "OS_PASSWORD" OpenStackRegionName = "OS_REGION_NAME" OpenStackTenantName = "OS_TENANT_NAME" OpenStackUserName = "OS_USER_NAME" PacketAPIKey = "PACKET_API_KEY" PacketProjectID = "PACKET_PROJECT_ID" VSphereAddress = "VSPHERE_ADDRESS" VSpherePasswords = "VSPHERE_PASSWORD" VSphereUsername = "VSPHERE_USERNAME" )
The environment variable names with credential in them that machine-controller expects to see
View Source
const ( // SecretName is name of the secret which contains the cloud provider credentials SecretName = "cloud-provider-credentials" // SecretNamespace is namespace of the credentials secret SecretNamespace = "kube-system" )
Variables ¶
This section is empty.
Functions ¶
func ProviderCredentials ¶
func ProviderCredentials(p kubeone.CloudProviderName) (map[string]string, error)
ProviderCredentials match the cloudprovider and parses its credentials from environment
Types ¶
type ProviderEnvironmentVariable ¶
ProviderEnvironmentVariable is used to match environment variable used by KubeOne to environment variable used by machine-controller.
Click to show internal directories.
Click to hide internal directories.