Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Name is the name of the OpenStack provider. Name = "provider-openstack" // CloudControllerManagerImageName is the name of the cloud-controller-manager image. CloudControllerManagerImageName = "cloud-controller-manager" // CSIDriverCinderImageName is the name of the csi-driver-cinder image. CSIDriverCinderImageName = "csi-driver-cinder" // CSIProvisionerImageName is the name of the csi-provisioner image. CSIProvisionerImageName = "csi-provisioner" // CSIAttacherImageName is the name of the csi-attacher image. CSIAttacherImageName = "csi-attacher" // CSISnapshotterImageName is the name of the csi-snapshotter image. CSISnapshotterImageName = "csi-snapshotter" // CSIResizerImageName is the name of the csi-resizer image. CSIResizerImageName = "csi-resizer" // CSINodeDriverRegistrarImageName is the name of the csi-node-driver-registrar image. CSINodeDriverRegistrarImageName = "csi-node-driver-registrar" // CSILivenessProbeImageName is the name of the csi-liveness-probe image. CSILivenessProbeImageName = "csi-liveness-probe" // CSISnapshotControllerImageName is the name of the csi-snapshot-controller image. CSISnapshotControllerImageName = "csi-snapshot-controller" // CSISnapshotValidationWebhookImageName is the name of the csi-snapshot-validation-webhook image. CSISnapshotValidationWebhookImageName = "csi-snapshot-validation-webhook" // MachineControllerManagerImageName is the name of the MachineControllerManager image. MachineControllerManagerImageName = "machine-controller-manager" // MachineControllerManagerProviderOpenStackImageName is the name of the MachineControllerManager OpenStack image. MachineControllerManagerProviderOpenStackImageName = "machine-controller-manager-provider-openstack" // AuthURL is a constant for the key in a cloud provider secret that holds the OpenStack auth url. AuthURL = "authURL" // DomainName is a constant for the key in a cloud provider secret that holds the OpenStack domain name. DomainName = "domainName" // TenantName is a constant for the key in a cloud provider secret that holds the OpenStack tenant name. TenantName = "tenantName" // UserName is a constant for the key in a cloud provider secret and backup secret that holds the OpenStack username. UserName = "username" // Password is a constant for the key in a cloud provider secret and backup secret that holds the OpenStack password. Password = "password" // ApplicationCredentialID is a constant for the key in a cloud provider secret and backup secret that holds the OpenStack application credential id. ApplicationCredentialID = "applicationCredentialID" // ApplicationCredentialName is a constant for the key in a cloud provider secret and backup secret that holds the OpenStack application credential name. ApplicationCredentialName = "applicationCredentialName" // ApplicationCredentialSecret is a constant for the key in a cloud provider secret and backup secret that holds the OpenStack application credential secret. ApplicationCredentialSecret = "applicationCredentialSecret" // Region is a constant for the key in a backup secret that holds the Openstack region. Region = "region" // Insecure is a constant for the key in a cloud provider secret that configures whether the OpenStack client verifies the server's certificate. Insecure = "insecure" // DNSAuthURL is a constant for the key in a DNS secret that holds the OpenStack auth url. DNSAuthURL = "OS_AUTH_URL" // DNSDomainName is a constant for the key in a DNS secret that holds the OpenStack domain name. DNSDomainName = "OS_DOMAIN_NAME" // DNSTenantName is a constant for the key in a DNS secret that holds the OpenStack tenant name. DNSTenantName = "OS_PROJECT_NAME" // DNSUserName is a constant for the key in a DNS secret that holds the OpenStack username. DNSUserName = "OS_USERNAME" // DNSPassword is a constant for the key in a DNS secret that holds the OpenStack password. DNSPassword = "OS_PASSWORD" // DNSApplicationCredentialID is a constant for the key in a DNS secret hat holds the OpenStack application credential id. DNSApplicationCredentialID = "OS_APPLICATION_CREDENTIAL_ID" // DNSApplicationCredentialName is a constant for the key in a DNS secret that holds the OpenStack application credential name. DNSApplicationCredentialName = "OS_APPLICATION_CREDENTIAL_NAME" // DNSApplicationCredentialSecret is a constant for the key in a DNS secret that holds the OpenStack application credential secret. DNSApplicationCredentialSecret = "OS_APPLICATION_CREDENTIAL_SECRET" // CloudProviderConfigName is the name of the secret containing the cloud provider config. CloudProviderConfigName = "cloud-provider-config" // CloudProviderDiskConfigName is the name of the secret containing the cloud provider config for disk/volume handling. It is used by kube-controller-manager. CloudProviderDiskConfigName = "cloud-provider-disk-config" // CloudProviderCSIDiskConfigName is the name of the secret containing the cloud provider config for disk/volume handling. It is used by csi-driver-controller. CloudProviderCSIDiskConfigName = "cloud-provider-disk-config-csi" // CloudProviderConfigDataKey is the key storing the cloud provider config as value in the cloud provider secret. CloudProviderConfigDataKey = "cloudprovider.conf" // CloudControllerManagerName is a constant for the name of the CloudController deployed by the worker controller. CloudControllerManagerName = "cloud-controller-manager" // CSIControllerName is a constant for the chart name for a CSI controller deployment in the seed. CSIControllerName = "csi-driver-controller" // CSIControllerCinderName is a constant for the name of the Cinder CSI controller deployment in the seed. CSIControllerCinderName = "csi-driver-controller-cinder" // CSINodeName is a constant for the chart name for a CSI node deployment in the shoot. CSINodeName = "csi-driver-node" // CSINodeCinderName is a constant for the name of the Cinder CSI node deployment in the shoot. CSINodeCinderName = "csi-driver-node-cinder" // CSIDriverName is a constant for the name of the csi-driver component. CSIDriverName = "csi-driver" // CSIProvisionerName is a constant for the name of the csi-provisioner component. CSIProvisionerName = "csi-provisioner" // CSIAttacherName is a constant for the name of the csi-attacher component. CSIAttacherName = "csi-attacher" // CSISnapshotterName is a constant for the name of the csi-snapshotter component. CSISnapshotterName = "csi-snapshotter" // CSIResizerName is a constant for the name of the csi-resizer component. CSIResizerName = "csi-resizer" // CSINodeDriverRegistrarName is a constant for the name of the csi-node-driver-registrar component. CSINodeDriverRegistrarName = "csi-node-driver-registrar" // CSILivenessProbeName is a constant for the name of the csi-liveness-probe component. CSILivenessProbeName = "csi-liveness-probe" // CSISnapshotControllerName is a constant for the name of the csi-snapshot-controller component. CSISnapshotControllerName = "csi-snapshot-controller" // CSISnapshotValidationName is the constant for the name of the csi-snapshot-validation-webhook component. CSISnapshotValidationName = "csi-snapshot-validation" // CSIStorageProvisioner is a constant with the storage provisioner name which is used in storageclasses. CSIStorageProvisioner = "cinder.csi.openstack.org" // MachineControllerManagerName is a constant for the name of the machine-controller-manager. MachineControllerManagerName = "machine-controller-manager" // MachineControllerManagerVpaName is the name of the VerticalPodAutoscaler of the machine-controller-manager deployment. MachineControllerManagerVpaName = "machine-controller-manager-vpa" // MachineControllerManagerMonitoringConfigName is the name of the ConfigMap containing monitoring stack configurations for machine-controller-manager. MachineControllerManagerMonitoringConfigName = "machine-controller-manager-monitoring-config" // CSIMigrationKubernetesVersion is a constant for the Kubernetes version for which the Shoot's CSI migration will be // performed. CSIMigrationKubernetesVersion = "1.19" // StorageProvisionerBeforeCSI is a constant with the storage provisioner name before CSI which is used in storageclasses. StorageProvisionerBeforeCSI = "kubernetes.io/cinder" )
View Source
const DNSType = "openstack-designate"
DNSType is the type of resources managed by the OpenStack DNS actuator.
View Source
const Type = "openstack"
Type is the type of resources managed by the OpenStack actuator.
Variables ¶
View Source
var ( // ChartsPath is the path to the charts ChartsPath = filepath.Join("charts") // InternalChartsPath is the path to the internal charts InternalChartsPath = filepath.Join(ChartsPath, "internal") // UsernamePrefix is a constant for the username prefix of components deployed by OpenStack. UsernamePrefix = extensionsv1alpha1.SchemeGroupVersion.Group + ":" + Name + ":" )
Functions ¶
This section is empty.
Types ¶
type Credentials ¶ added in v1.7.1
type Credentials struct { DomainName string TenantName string // either authenticate with username/password credentials Username string Password string // or application credentials ApplicationCredentialID string ApplicationCredentialName string ApplicationCredentialSecret string AuthURL string }
Credentials contains the necessary OpenStack credential information.
func ExtractCredentials ¶ added in v1.7.1
func ExtractCredentials(secret *corev1.Secret, allowDNSKeys bool) (*Credentials, error)
ExtractCredentials generates a credentials object for a given provider secret.
func GetCredentials ¶ added in v1.7.1
func GetCredentials(ctx context.Context, c client.Client, secretRef corev1.SecretReference, allowDNSKeys bool) (*Credentials, error)
GetCredentials computes for a given context and infrastructure the corresponding credentials object.
Click to show internal directories.
Click to hide internal directories.