metal

package
v0.22.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Name is the name of the Metal provider.
	Name = "provider-metal"

	// MachineControllerManagerImageName is the name of the MachineControllerManager image.
	MachineControllerManagerImageName = "machine-controller-manager"
	// MCMProviderMetalImageName is the name of the metal provider plugin image.
	MCMProviderMetalImageName = "machine-controller-manager-provider-metal"
	// CCMImageName is the name of the cloud controller manager image.
	CCMImageName = "metalccm"
	// AudittailerImageName is the name of the Audittailer to deploy to the shoot.
	AudittailerImageName = "audittailer"
	// DroptailerImageName is the name of the Droptailer to deploy to the shoot.
	DroptailerImageName = "droptailer"
	// MetallbSpeakerImageName is the name of the metallb speaker to deploy to the shoot.
	MetallbSpeakerImageName = "metallb-speaker"
	// MetallbControllerImageName is the name of the metallb controller to deploy to the shoot.
	MetallbControllerImageName = "metallb-controller"
	// CSIControllerImageName is the name of the csi lvm controller to deploy to the seed's shoot namespace.
	CSIControllerImageName = "csi-lvm-controller"
	// CSIProvisionerImageName is the name of the csi lvm provisioner to deploy to the seed's shoot namespace.
	CSIProvisionerImageName = "csi-lvm-provisioner"
	// DurosControllerImageName is the name of the duros controller to deploy to the seed's shoot namespace.
	DurosControllerImageName = "duros-controller"
	// DurosResourceName is the name of the duros resource to deploy to the seed's shoot namespace.
	DurosResourceName = "shoot-default-storage"
	// NodeInitImageName is the name of the node-init to deploy to the shoot.
	NodeInitImageName = "node-init"
	// MetallbHealthSidecarImageName is the name of the metallb health sidecar image used for metallb health checking to deploy to the shoot.
	MetallbHealthSidecarImageName = "metallb-health-sidecar"

	// APIKey is a constant for the key in a cloud provider secret.
	APIKey = "metalAPIKey"
	// APIHMac is a constant for the hmac in a cloud provider secret.
	APIHMac = "metalAPIHMac"

	// CloudProviderConfigName is the name of the configmap containing the cloud provider config.
	CloudProviderConfigName = "cloud-provider-config"
	// MachineControllerManagerName is a constant for the name of the machine-controller-manager.
	MachineControllerManagerName = "machine-controller-manager"

	// ShootExtensionTypeTokenIssuer appears unused? CHECKME
	ShootExtensionTypeTokenIssuer = "tokenissuer"
	// AuditPolicyName is the name of the configmap containing the audit policy.
	AuditPolicyName = "audit-policy-override"
	// AudittailerNamespace is the namespace where the audit tailer will get deployed.
	AudittailerNamespace = "audit"
	// AudittailerClientSecretName is the name of the secret containing the certificates for the audittailer client.
	AudittailerClientSecretName = "audittailer-client" // nolint:gosec
	// AudittailerServerSecretName is the name of the secret containing the certificates for the audittailer server.
	AudittailerServerSecretName = "audittailer-server" // nolint:gosec
	// AuditForwarderSplunkConfigName is the name of the configmap containing the splunk configuration for the auditforwarder.
	AuditForwarderSplunkConfigName = "audit-to-splunk-config"
	// AuditForwarderSplunkSecretName is the name of the secret containing the splunk hec token and, if required, the ca certificate.
	AuditForwarderSplunkSecretName = "audit-to-splunk-secret" // nolint:gosec
	// DroptailerNamespace is the namespace where the firewall droptailer will get deployed.
	DroptailerNamespace = "firewall"
	// DroptailerClientSecretName is the name of the secret containing the certificates for the droptailer client.
	DroptailerClientSecretName = "droptailer-client" // nolint:gosec
	// DroptailerServerSecretName is the name of the secret containing the certificates for the droptailer server.
	DroptailerServerSecretName = "droptailer-server" // nolint:gosec
	// CloudControllerManagerDeploymentName is the name of the deployment for the cloud controller manager.
	CloudControllerManagerDeploymentName = "cloud-controller-manager"
	// CloudControllerManagerServerName is the name of the secret containing the certificates for the cloud controller manager server.
	CloudControllerManagerServerName = "cloud-controller-manager-server"
	// DurosControllerDeploymentName is the name of the deployment for the duros-controller.
	DurosControllerDeploymentName = "duros-controller"
	// FirewallControllerManagerDeploymentName is the name of the deployment for the firewall controller manager
	FirewallControllerManagerDeploymentName = "firewall-controller-manager"
	// FirewallDeploymentName is the name of the firewall deployment deployed to the seed cluster to get managed by the FCM.
	FirewallDeploymentName = "shoot-firewall"
	// ManagerIdentity is put as a label to every secret managed by the gepm and secretsmanager to make searching easier
	ManagerIdentity = "provider-" + Type + "-controlplane"
)
View Source
const Type = "metal"

Type is the type of resources managed by the Metal 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")
)

Functions

This section is empty.

Types

type Credentials

type Credentials struct {
	MetalAPIKey  string
	MetalAPIHMac string
}

Credentials stores Metal credentials.

func ReadCredentialsSecret

func ReadCredentialsSecret(secret *corev1.Secret) (*Credentials, error)

ReadCredentialsSecret reads a secret containing credentials.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL